forked from katef/libfsm
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experiment: Make 0 implicit in the bitset_words table.
A word of 0 is by far the most common (since most regexes will only use printable ASCII), so making it implicit removes one slot from the head of the bitset_words entries that are likely to stay in cache. Instead, use any ID >= the bitset_words table count to represent 0. This doubles as a range check.
- Loading branch information
1 parent
31d801c
commit 59a2e22
Showing
1 changed file
with
25 additions
and
15 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