poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63234] XSSFFont.equals, hashCode very slow; revised code presented
Date Tue, 05 Mar 2019 22:23:02 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63234

--- Comment #1 from PJ Fanning <fanningpj@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


Mime
View raw message