diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-16 17:28:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-16 17:33:48 -0700 |
commit | 7e7819e05ec91bc7ca7859d119f1274cf3a83913 (patch) | |
tree | e10c78ca2bbf0033b381cdc27076ada30f38b39c /src/cmark.c | |
parent | 54c087d1272b4ce756e56de68e8e6dfac6d159fc (diff) |
Simpler approach for entity lookup.
We dispense with the hashes and just do string comparsions.
Since the array is in order, we can search intelligently
and should never need to do more than 8 or so comparisons.
This reduces binary size even further, at a small cost
in performance. (This shouldn't matter too much, as
it's only detectable in really entity-heavy sources.)
Diffstat (limited to 'src/cmark.c')
0 files changed, 0 insertions, 0 deletions