Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scrooge] Preallocate hashmaps during deserialization
Problem When a map is deserialized in scrooge we create it with default capacity, which means that for larger maps we need to resize it multiple times and each time recalculate key hashes Solution Allocate a map with sufficient capacity from the start. Differential Revision: https://phabricator.twitter.biz/D1174445
- Loading branch information