Similar to D142862. xxh3 is significantly faster than xxh64. Switch to xxh3, as we did for for lld and llvm-dwarfutil to increase performance (D154813 D155675). While I think StringMap is not a bottleneck for most applications, it seems good to eliminate the slower xxh64. In addition, according to Erik Desjardins, an artificial benchmark of Rust with very large constant strings improves by ~3% locally. I have fixed all found issues (~20) separately, but one is remaining: * ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s has a failure due to StringMap iteration order. It now passes with LLVM_ENABLE_REVERSE_ITERATION=on while failing with LLVM_ENABLE_REVERSE_ITERATION=off. Reviewed By: erikdesjardins Differential Revision: https://reviews.llvm.org/D155781
9.2 KiB
9.2 KiB