Stuk/jszip — pull request #17 by ravenac95 (2012-11-02 05:00:05+00:00)
Title: Improved crc32 performance by a factor of 10

When using your fantastic library, we discovered that the bulk of time was being spent in computing crc32. However, after some hacking around, I was able to improve crc32 performance by about 10x-17x on my machines. All the original tests are still passing and I believe your style guide was followed fairly well. We tested this on IE9, Chrome 22, and Firefox 16. I will try to do more extensive tests, but my hunch is that it should work on anything as the changes made are fairly minor, but definitely optimizes the loop that is being used to perform crc32.

If you'd like to see a performance comparison test I created a file in the test directory called crcPerf.html. Just open that up and it'll show the performance comparison. :-)