+42
−2
i18n/CaseFolding.txt
0 → 100644
+1196
−0
File added.
Preview size limit exceeded, changes collapsed.
+158
−56
Loading
comparisons according to Unicode. i18n/CaseFolding.txt: o New file code/unidata.lisp o Add new slots to the unidata structure to hold the simple and full case-folding information. o Add UNICODE-CASE-FOLD-SIMPLE and UNICODE-CASE-FOLD-FULL functions to return the case-folded codepoint or string for the simple and full options, respectively. tools/build-unidata.lisp: o Add new slots to the unidata structure and the ucdent structure to hold the case folding information from CaseFolding.txt. o Update routines to read the case folding data and to write the data to unidata.bin. o Speed optimization: Use a hash table whose key is the codepoint and whose value is the index into the vector. This preserves the structure of the code but vastly improves the speed of reading and processing the unicode data files, especially for the derived normalization properties. (We should just replace the vector with the hash table.)
File added.
Preview size limit exceeded, changes collapsed.