Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Speedup movepicker #78

Merged
merged 2 commits into from
Jun 29, 2021
Merged

Speedup movepicker #78

merged 2 commits into from
Jun 29, 2021

Conversation

Aryan1508
Copy link
Owner

Do not sort the entire movelist during move picking, instead swap the highest valued move with the first one for each iteration until a cutoff is reached or you've seen all the moves

https://ob.koibois.net/test/2070/

ELO   | 12.37 +- 7.45 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=16MB
LLR   | 2.98 (-2.94, 2.94) [0.00, 5.00]
GAMES | N: 5000 W: 1587 L: 1409 D: 2004

@Aryan1508 Aryan1508 added the Speedup General speedups label Jun 29, 2021
@Aryan1508 Aryan1508 self-assigned this Jun 29, 2021
@Aryan1508 Aryan1508 merged commit 4204ee4 into master Jun 29, 2021
@Aryan1508 Aryan1508 deleted the moveorder_pick_top branch June 29, 2021 11:32
@Aryan1508 Aryan1508 removed their assignment Aug 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Speedup General speedups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant