https://bz.apache.org/bugzilla/show_bug.cgi?id=57840

--- Comment #32 from Greg Woolsey <[email protected]> ---
Created attachment 33942
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33942&action=edit
lazily cache the cell cache key hash

Last one for now - I'm still unclear exactly why, but lazy calculating then
storing the hash for the evaluation cell cache key speeds things up quite a bit
(10-20%).  It looks like for some uses only equals() is used on a newly created
key, so avoiding the hash calculation helps, while on others (the ones stored
in the map?) hashcode() is called multiple times, so caching it once calculated
saves time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to