logoalt Hacker News

quadraturelast Friday at 11:29 PM2 repliesview on HN

Is there something better than Swiss tables ?.


Replies

reinitctxoffsetyesterday at 12:15 AM

On modern super wide znver5 or SBSA with full-clock scalar 256 or 512 ALUs / SIMD lanes deep pipelines hight BTB pressure eyc. it's just really difficult to make a priori statements about performance for a given workload.

absl::flat_hash_map (or folly::F14) are great defaults if you can eat the invalidation semantics.

But if it's really hot you measure by workload and have infrastructure to flag the right ones in.

This seems promising. I'll start benching it alongside the other likely lads.

szmarczakyesterday at 12:04 AM

No. Fundamentally it's not possible to be faster.

show 1 reply