nikic wrote: @kazutakahirata It probably depends a lot on how often the DenseMap is accessed. If it is accessed much more often that it is grown, that may outweigh the allocation overhead. https://github.com/llvm/llvm-project/pull/79681