*** Issue 16185 has been marked as a duplicate of this issue. ***
Comment #2 by code — 2017-02-12T14:48:35Z
A common solution in other compilers (clang) is to use an ordered hash table, consisting of a hash table for O(1) access and an array for ordered processing.
Would be a good fit here as well.
http://llvm.org/docs/doxygen/html/classllvm_1_1MapVector.html
Comment #3 by robert.schadek — 2024-12-13T18:44:23Z