Skip to content

Iterate CoordSet through occupied bits - #24

Merged
dschafer merged 1 commit into
mainfrom
coordset-occupied-bits
Aug 3, 2026
Merged

Iterate CoordSet through occupied bits#24
dschafer merged 1 commit into
mainfrom
coordset-occupied-bits

Conversation

@dschafer

@dschafer dschafer commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Use trailing-zero scans instead of testing all 256 possible coordinates. Preserve row-major order and expose an exact iterator size.

A repeated 500-sample Criterion comparison against origin/main measures LinkedIn1/Fast 6.3% faster and GameOfCrowns1/Fast 30.4% faster.

Use trailing-zero scans instead of testing all 256 possible coordinates. Preserve row-major order and expose an exact iterator size.

A repeated 500-sample Criterion comparison against origin/main measures LinkedIn1/Fast 6.3% faster and GameOfCrowns1/Fast 30.4% faster. No changelog entry is needed because behavior is unchanged.
@dschafer
dschafer merged commit 2e49c2a into main Aug 3, 2026
1 check passed
@dschafer
dschafer deleted the coordset-occupied-bits branch August 3, 2026 00:12
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