Skip to content

Further optimize threat calculation - #378

Merged
kevlu8 merged 2 commits into
mainfrom
optim2
Oct 21, 2026
Merged

kevlu8 merged 2 commits into
mainfrom
optim2

Conversation

@kevlu8

@kevlu8 kevlu8 commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Also some other stuff

Elo   | 22.28 +- 7.53 (95%)
SPRT  | 4.0+0.04s Threads=1 Hash=32MB
LLR   | 2.90 (-2.25, 2.89) [0.00, 4.00]
Games | N: 2124 W: 610 L: 474 D: 1040
Penta | [4, 192, 539, 318, 9]

https://ob.int0x80.ca/test/1110/

Bench: 2254747

Defer threat discovery, tile accumulator updates in SIMD registers, reduce
attack lookups, and compact feature indices. Reuse king buckets, avoid
locked single-writer node increments, and enable huge pages for weights.

Fix benchmark parsing/affinity and force fresh PGO instrumentation. Add
reference accumulator/index tests and document measurements and checks.

Measured +16.80% NPS over 20 paired default-depth runs and +14.86% over
8 depth-14 pairs. Exact search output matches the baseline through depth
16. Perft, multi-thread searches, and sanitizer checks pass.

Bench: 2254747
Bench: 2254747
@kevlu8
kevlu8 merged commit 9ed3190 into main Oct 21, 2026
9 checks passed
@kevlu8
kevlu8 deleted the optim2 branch October 21, 2026 00:02
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