diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-12 23:34:56 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-15 17:10:20 +0100 |
commit | 6cec0d369192f43d87680a3f807054659206f713 (patch) | |
tree | eec57d24891fd5da2439eaf612fffb11a0d58b03 /tests | |
parent | cfb9b55964ff7074e1b35883b4b6009060151b26 (diff) |
lexer: improve scanner performance
Optimize the strncmp() based token lookup with an integer comparison
approach which roughly cuts the time of the source code parsing phase
in half.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions