Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Docs: consolidate piece selection algorithm from docs with actual implementation #524

Merged
merged 2 commits into from
Jan 6, 2024

Conversation

schnerring
Copy link
Contributor

See title.

Also, what's the reason for writing...

length = 1 << int((exponent / 2 + 4))

...instead of?

length = 16 << int(exponent / 2)

@casey
Copy link
Owner

casey commented Jan 6, 2024

Nice, thank you!

@casey casey enabled auto-merge (squash) January 6, 2024 02:08
@casey
Copy link
Owner

casey commented Jan 6, 2024

Also, what's the reason for writing...
length = 1 << int((exponent / 2 + 4))

I honestly have no idea 😅

@casey casey merged commit af1274b into casey:master Jan 6, 2024
3 checks passed
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.

None yet

2 participants