summaryrefslogtreecommitdiff
path: root/test/pathological_tests.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-16 17:28:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-16 17:33:48 -0700
commit7e7819e05ec91bc7ca7859d119f1274cf3a83913 (patch)
treee10c78ca2bbf0033b381cdc27076ada30f38b39c /test/pathological_tests.py
parent54c087d1272b4ce756e56de68e8e6dfac6d159fc (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 'test/pathological_tests.py')
0 files changed, 0 insertions, 0 deletions