Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resize Huffman string before appending characters
Summary: We're pushing back onto an fbstring character-by-character, when we could instead reserve an appropriate size beforehand and then do the appending. I found the ratio `3/2` empirically, it seems to be a good upper bound. Differential Revision: D60291076 fbshipit-source-id: 982363420c495d1f082e827375fec9626944d5d7
- Loading branch information