-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let RegexMatchCache dynamic-bitsets have in-situ storage
Summary: The current implementation of the dynamic-bitsets requires 2 pointers in-situ and always allocates storage for the bits. This compresses the memory usage more to 1 pointer in-situ, and only allocating storage for the bits once a large-enough number of indices is required. Reviewed By: mdas7 Differential Revision: D63338696 fbshipit-source-id: 5d59922d0403c5ff235e1ead81cf6d165dff096e
- Loading branch information
1 parent
c15ca6b
commit c9acd68
Showing
2 changed files
with
169 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters