summaryrefslogtreecommitdiff
path: root/tests/Krange
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-11-25 01:25:16 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-11-25 02:39:21 +0100
commit4b2393627c5c75807d559ef706f0d966ce131f60 (patch)
treef1fb14ed0109f7a7e1eb132351ec10e78200ba5e /tests/Krange
parente02c01e0628507d46ab7e25e4fa1b84183a86712 (diff)
Speed up some token tests
Turn some of the hotter membership test tuples into global sets, like was already done for _TYPE_TOKENS. That saves some global lookups for the tuple members and avoids repeatedly recreating tuples. It's 30%-50% faster in a microbenchmark, even for two-element tuples (with global lookups for the members).
Diffstat (limited to 'tests/Krange')
0 files changed, 0 insertions, 0 deletions