about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-03-19 11:38:41 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-03-20 12:11:13 -0400
commit7c4baedb3a090f2dc9e653bd7c03165be84acad3 (patch)
treed48af83ab011b2d64b03166453883168ae6ee233 /src/test/codegen/src-hash-algorithm
parent903f67d599cf12d2d202d5177bb3edecb6cdab00 (diff)
downloadrust-7c4baedb3a090f2dc9e653bd7c03165be84acad3.tar.gz
rust-7c4baedb3a090f2dc9e653bd7c03165be84acad3.zip
Dynamically choose best chunk size
Try chunk sizes between 1 and 64, selecting the one which minimizes the number
of bytes used. 16, the previous constant, turned out to be a rather good choice,
with 5/9 of the datasets still using it.

Alphabetic     : 3036 bytes    (- 19 bytes)
Case_Ignorable : 2136 bytes
Cased          : 934 bytes
Cc             : 32 bytes      (- 11 bytes)
Grapheme_Extend: 1774 bytes
Lowercase      : 985 bytes
N              : 1225 bytes    (- 41 bytes)
Uppercase      : 934 bytes
White_Space    : 97 bytes      (- 43 bytes)
Total table sizes: 11153 bytes (-114 bytes)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions