Skip to content

Use extend in generate_referents #537

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

krakow10
Copy link
Contributor

@krakow10 krakow10 commented May 22, 2025

Use a primitive cast and refactor the loop into an iterator. I kept the panic condition that was being checked for every sequential index, except factored out of the loop. This is somehow 4% faster on "Miner's Haven/Serialize"? I expected it to be negligible. Everything helps I guess.

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