Ok, the "fix" for this is to do a real associative container. Symbol tables
authorChris Lattner <sabre@nondot.org>
Fri, 10 Oct 2003 05:43:47 +0000 (05:43 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Oct 2003 05:43:47 +0000 (05:43 +0000)
commit39cacceb551be6f0f675e2d887fa9ac9b908380d
treeca3a1a788606aba0b56dd4cdddbf090387e63acc
parent25839f02c68e00f91fbc92c954c2fc5524472032
Ok, the "fix" for this is to do a real associative container.  Symbol tables
are ordered by name, not by slot, so the previous solution wasn't any good.
On a large testcase, this reduces time to parse from 2.17s to 1.58s.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/Reader.cpp