Skip to content

⚡ Use MemoryMarshal.GetArrayDataReference + Unsafe.Add in MakeMove for pinned arrays - #2418

Draft
eduherminio wants to merge 5 commits into
mainfrom
perf/makemove-unsafearrayreference
Draft

⚡ Use MemoryMarshal.GetArrayDataReference + Unsafe.Add in MakeMove for pinned arrays#2418
eduherminio wants to merge 5 commits into
mainfrom
perf/makemove-unsafearrayreference

Conversation

@eduherminio

@eduherminio eduherminio commented Feb 23, 2026

Copy link
Copy Markdown
Member

Not too promising benchmark results

Test  | perf/makemove-unsafearrayreference
Elo   | 1.52 +- 1.64 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 1.64 (-2.25, 2.89) [0.00, 3.00]
Games | 48000: +12186 -11976 =23838
Penta | [393, 4966, 13128, 5064, 449]
https://openbench.lynx-chess.com/test/2635/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant