[llvm-commits] [llvm] r152116 - /llvm/trunk/lib/VMCore/ConstantsContext.h

Duncan Sands baldrick at free.fr
Wed Mar 7 00:29:00 PST 2012


Hi Chandler,

> I think you underestimate how slow it is to hash things using incremental calls
> to hash_combine. The reason for the other interface is that it is *much* faster.

why is this?  Is it just that the optimizers are doing a poor job, or is there a
more fundamental reason that means that multiple hash_combine calls can't be as
efficient as hash_combine_range?

Ciao, Duncan.



More information about the llvm-commits mailing list