-
Notifications
You must be signed in to change notification settings - Fork 248
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
Replace Hashmaps
with FxHashmaps
or another data structure
#2487
Comments
Hashmaps
with FxHashmaps
Hashmaps
with FxHashmaps
or another data strcuture
It's a bit of an improvement still I suppose, and probably not hard to implement. Did you replace the HashMaps of that one function or all through SSA / the compiler? (edit: there's a PR now) |
Hashmaps
with FxHashmaps
or another data strcutureHashmaps
with FxHashmaps
or another data structure
We don't have a tracking issue for benchmarks so putting it here: I wonder how much time we are spending in the arena, here: Line 7 in df9f09e
If its a lot, we could replace that with something simpler like la-arena which should be faster as we are not using the generational component of generational-arena |
We can just replace the arenas with Vecs honestly. We never delete elements anyway |
Problem
In some programs hashmaps is taking a lot of time
below is the flamegraph of the tally circuit
Happy Case
FxHashmaps is what the rust compiler uses internally, which should speed it up
Alternatives Considered
or another datastructure
Additional Context
No response
Would you like to submit a PR for this Issue?
Maybe
Support Needs
No response
The text was updated successfully, but these errors were encountered: