[ http://issues.apache.org/jira/browse/DERBY-2050?page=all ]
Dyre Tjeldvoll updated DERBY-2050:
----------------------------------
Attachment: derby-2050.v2.diff
New patch which
- restores the deleted comment
- removes unintended white space changes
- restores the deleted final keywords
Deletion was not intentional. I wanted to remove the final keywords that I had
added myself, and did not notice that I removed some of the existing ones. I
decided to remove the final keywords I which I had added since I noticed that
the class itself was declared final. Is there some added benefit to declaring
methods in a final class as final?
> Manipulating CachedItems could be more efficient
> ------------------------------------------------
>
> Key: DERBY-2050
> URL: http://issues.apache.org/jira/browse/DERBY-2050
> Project: Derby
> Issue Type: Improvement
> Components: Performance
> Affects Versions: 10.2.1.6
> Reporter: Dyre Tjeldvoll
> Priority: Trivial
> Fix For: 10.3.0.0
>
> Attachments: derby-2050.diff, derby-2050.stat, derby-2050.v2.diff
>
>
> CachedItem's state is currently recorded in bit fields of an integer
> variable. Changing this to 6 boolean member variables reduces cpu usage.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira