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=41044>. 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=41044 ------- Additional Comments From [EMAIL PROTECTED] 2006-12-18 03:46 ------- Some notes regarding the comments so far: 1. An immutable class is guaranteed to be thread safe. I'm aiming at changing all property classes to be this way, as I believe they were intended to be. 2. Constructing lots of short lived objects and comparing them against a few long lived ones is much quicker than than creating lots of long lived objects. If we were writing in C this would not always be the case - there would be no tree traversal and an equal number of malloc/frees. Given that this is Java, we reduce the number of GC passes and allow the newer collectors to work more efficiently. 3. String.intern() does require an existing String. 4. The location of PropertyCache and the cached values can be changed later if required. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
