diff options
drw: minor improvement to the nomatches cache
1. use `unsigned int` to store the codepoints, this avoids waste on
common case where `long` is 64bits. and POSIX guarantees `int` to be
at least 32bits so there's no risk of truncation.
2. since switching to `unsigned int` cuts down the memory requirement by
half, double the cache size from 64 to 128.
3. instead of a linear search, use a simple hash-table for O(1) lookups.
Diffstat (limited to 'README%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d4229fb7b783e0b6ab706e6825857a22c904fc688%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253db27ffbd78bc2f88b4e55a39d1d53258305e2a6e7%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d6366f94e36e958d9856738a4dbed0a5e1c3926eb%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d645f1d0dfcb3dada105b3633fb3b7c3d053fbd43%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253dd7d14e53dadaef99fdd754e82864cca20c816e23%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253dd7d14e53dadaef99fdd754e82864cca20c816e23%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253dd7d14e53dadaef99fdd754e82864cca20c816e23%252525252525252525252525252525253fshowmsg%252525252525252525252525252525253d1%252525252525252525252525253fshowmsg%252525252525252525252525253d1%252525252525252525253fid%252525252525252525253d8df553e0048733bab4bc85a6b76bcfd44c046e71%2525252525252525253fid%2525252525252525253d8df553e0048733bab4bc85a6b76bcfd44c046e71%2525252525253fshowmsg%2525252525253d1%25253fid%25253d8df553e0048733bab4bc85a6b76bcfd44c046e71%253fid%253d8df553e0048733bab4bc85a6b76bcfd44c046e71%3fid%3d8df553e0048733bab4bc85a6b76bcfd44c046e71?id=7ab0cb5ef0e19352fc5d64ae0d57a5cf4540acbf')
0 files changed, 0 insertions, 0 deletions