Stop using list
Producing the list of all slots to try appeared to be expensive. In volume tests taking 150 - 250 microseconds per GET. Perhaps the list could be long (>1000), with a split and append, so not surprising. Instead loop and count.
This commit is contained in:
parent
06f6604ac4
commit
52c7a023a1
2 changed files with 42 additions and 43 deletions
|
@ -319,8 +319,7 @@
|
|||
{info, "Microsecond timings for hashtree build of "
|
||||
++ "to_list ~w sort ~w build ~w"}},
|
||||
{"CDB15",
|
||||
{info, "Cycle count of ~w in hashtable search higher than expected"
|
||||
++ " in search for hash ~w with result ~w"}},
|
||||
{info, "Collision in search for hash ~w"}},
|
||||
{"CDB16",
|
||||
{info, "CDB scan from start ~w in file with end ~w and last_key ~w"}},
|
||||
{"CDB17",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue