Clone
Stephane Bailliez <sbailliez@apache.org>
committed
on 04 Dec 04
First attempt at optimizing the zip code to have decent performance The performance problem was mainly due to the entry insertion in the has… Show more
First attempt at optimizing the zip code to have decent performance The performance problem was mainly due to the entry insertion in the hashtable where all hash code were equals in the hashtable. I also removed a lot of unecessary Zip(Long|Short) object creation by adding static methods and suppressed a hashtable.

More can be done, but I tried not to break the interface and have as less code

as possible. The testcase attached in the bug report show that it is now 15% slower than Sun native code and 20% faster than Jazz libs.

Now watch for Gump...

PR: 31930

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277122 13f79535-47bb-0310-9956-ffa450edef68

Show less

master + 8 more