https://issues.apache.org/bugzilla/show_bug.cgi?id=46883





--- Comment #1 from Andreas L. Delmelle <adelme...@apache.org>  2009-07-10 
12:42:58 PST ---
Created an attachment (id=23958)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23958)
possible fix

Quickly looking at the method in question shows one way of reducing the
performance hit: instead of iterating over the collection every time, keep a
cached dataLength member, and return that. Haven't tested whether the
synchronization overhead outweighs going over the collection repeatedly,
though...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to