Skip to content

Commit

Permalink
Add compile-time inversion lists for POSIX classes
Browse files Browse the repository at this point in the history
These will be used in regcomp.c to replace the existing bit-wise
handling of these, enabling subsequent optimizations.

These are compiled-in, and hence affect the memory footprint of every
program, including those that don't use Unicode.  The lists that aren't
tiny are therefore currently restricted to only the Latin1 range;
anything needed beyond that will have to be read in at execution time,
just as before.

The design allows for easy conversion from Latin1 to use the full
Unicode range, should it be deemed desirable for some or all of these.
  • Loading branch information
Karl Williamson committed Feb 9, 2012
1 parent a3e1f3a commit 3f427fd
Show file tree
Hide file tree
Showing 6 changed files with 739 additions and 2 deletions.

0 comments on commit 3f427fd

Please sign in to comment.