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 2011/03/04 12:11:19 UTC

DO NOT REPLY [Bug 50868] Performance of sheet.setDefaultColumnStyle(col, style) degrades as more columns are added

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

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2011-03-04 06:11:17 EST ---
I suspect that ColumnHelper.getColumn1Based is the source of the slowdown -
because a CTCol entry can cover more than one column we currently need to loop
over all of them to find the appropriate spot

Can you try making a call to getColumn1Based for your columns instead of the
set style call, and see if that shows the same problem?

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org