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

Split array of pair_t structures into array of hashes and array of everything else #415

Open
asvetlov opened this issue Dec 10, 2019 · 0 comments

Comments

@asvetlov
Copy link
Member

Iteration over hashes in the hot-path.
Pushing hashes into a continious array should help with CPU caching a lot.

I expect that 75% slowdown comparing to dict in ./benchmarks/benchmark.py can be at least partially shrunk by better fitting into the CPU cache lines.

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

No branches or pull requests

1 participant