mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
explaining why the result may not be so surprising. Clean-up of stray whitespace and insert of missing "in" along for the ride. It's just not always faster or slower than `Table`. The difference depends upon many factors such as (at least!): A) how much (if anything - for `int` keys it is nothing) hash-comparison before `==` comparison saves B) how much resizing happens (which may even vary from run to run if end users are allowed to provide scale guess input), C) how much comparison happens at all (i.e., table density), D) how much space/size matters - like how close to a specific deployment "available" cache size the table is. If we want, we could add a sentence suggesting performance fans also try `Table`, but the kind of low-level nature of the explanation strikes me as already along those lines.