diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-10-03 15:49:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-10-03 15:49:53 +0200 |
commit | ff16079e49ae585281e4ff0f2aed9620a7273644 (patch) | |
tree | 8c7884940c1a60c40c6c329c0e27e8ceb2f03aef /sys/lib/python/compiler/symbols.py | |
parent | c0f464b98fde437a1c6556006e87662827d77096 (diff) |
upas/fs: speedup mtree and henter()
move digest pointer into Mtree structrue and embed it into Idx struct
(which is embedded in Message) to avoid one level of indirection
during mtreecmp().
get rid of mtreeisdup(). instead we have mtreeadd() return the old
message in case of a collision. this avoids double lookup.
increase the hash table size for henter() and make it a prime.
Diffstat (limited to 'sys/lib/python/compiler/symbols.py')
0 files changed, 0 insertions, 0 deletions