https://issues.apache.org/bugzilla/show_bug.cgi?id=50786

--- Comment #5 from andrei <[email protected]> 2011-03-02 09:31:08 EST 
---
Noticed that indexed colors hashtable is not stored in HSSFColor. So
getRGBOrARGB() method calls HSSFColor.getIndexHash() whitch every time (fill
color, text color, border color) builds color hashtable. It's very slowly.

HSSFColor.getIndexHash() method has comment:
"this function returns all colors in a hastable.  Its not implemented as a
 static member/staticly initialized because that would be dirty in a
 server environment as it is intended.  This means you'll eat the time
 it takes to create it once per request but you will not hold onto it
 if you have none of those requests."

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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