You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2019/03/05 22:23:02 UTC

[Bug 63234] XSSFFont.equals, hashCode very slow; revised code presented

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

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Comment on attachment 36475
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36475
XSSFFont.java revised to speed hashCode, toString, and equals by ~1000

Wouldn't it be better to have:


        private void updateHashCode() {
                _text = _ctFont.toString();
                _hashCode = _text.hashCode();
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org