supereggbert/GLGE — pull request #70 by neothemachine (2012-05-19 14:08:44+00:00)
Title: Optimized Wavefront loader

The repeated use of indexOf() for the idxData array was slowing down parsing a lot. I added a map so that O(1) lookups can be used. It is especially noticeable for larger Wavefront files. My test file was 8 MiB and I could speed up parsing from several minutes to a few seconds.