diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-04 15:02:07 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-04 15:02:07 -0500 |
commit | b976b2da5c88eed0c47bfbe2cf457330bcb93fa3 (patch) | |
tree | 523e6c7e2b0713a9853b680aaf76286727f94c6a /tools | |
parent | 391b79fcbdae2d1e2fc6ad77e4fadee357759314 (diff) | |
download | roux-b976b2da5c88eed0c47bfbe2cf457330bcb93fa3.tar.gz |
more performance improvements in the parser
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lexh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lexh.c b/tools/lexh.c index a8d8763..a4ca937 100644 --- a/tools/lexh.c +++ b/tools/lexh.c @@ -42,7 +42,7 @@ hash(char *s) h = 0; for (; *s; ++s) - h = *s + 5*h; + h = *s + 17*h; return h; } |