turborepo
d742a0c1
- use Vec instead of HashMap for smaller counts (#2416)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
use Vec instead of HashMap for smaller counts (#2416) save memory for hash maps with only a few entries. should probably only be used for keys that are cheap to compare This reduce memory usage for the 10k CSR example from 6.9GB to 5.1GB
References
#2416 - use Vec instead of HashMap for smaller counts
Author
sokra
Parents
fb5229f5
Loading