leventov commented on issue #109: Cache arrayBaseOffset. URL: https://github.com/apache/incubator-datasketches-memory/pull/109#issuecomment-516544621 If-else chain is a subject for much higher variability, especially if there are mispredicted branches. This effect is hard to measure in benchmarks. The `IdentityHashMap`, if preallocated with the capacity of 32, might well have no collisions in the whole table and therefore have very predictable perf.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
