DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30604>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30604 ArrayIntList.addAll() performance is terrible Summary: ArrayIntList.addAll() performance is terrible Product: Commons Version: 1.0 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Primitives AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] ArrayIntList.addAll() does numerous resizes and individual sets. Would be a lot better to a) ensure capacity at the start b) check if the other list is ArrayIntList (high chance) and use System.arraycopy. For now I have my own cut and pasted ArrayIntList that does both of these, performance is so much better its not funny. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]