1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Speed up the case-insensitive lookups.

This commit is contained in:
Bruno Haible
2003-04-24 10:47:54 +00:00
parent 7ccc2cf132
commit 2598419bcf
3 changed files with 127 additions and 12 deletions

View File

@@ -1,5 +1,12 @@
2003-01-07 Bruno Haible <bruno@clisp.org>
* src/output.cc (USE_DOWNCASE_TABLE): New macro.
(output_upperlower_table): New function.
(output_upperlower_strcmp, output_upperlower_strncmp,
output_upperlower_memcmp): Emit gperf_downcase array accesses.
(Output::output): Call output_upperlower_table.
* tests/permutc2.exp: Update.
* src/keyword-list.icc (KeywordExt_List::rest): Use a portable cast.
(Only in GCC a cast of an lvalue is an lvalue.)