Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 01/10/2013 10:50 AM, Rai, Neeraj wrote:
Hi Michael,

Appreciate your feedback.
I ran callgrind but no output on screen and 0 bytes files generated. I can run it on non-LO exe.
I'll compile LO with --enable-debug and see if situation improves. Please advise if other steps 
might be needed.

What's your hunch about how long it should take to update 60K cells with {getCellByPosition(ii,jj) 
and setValue() } ?

Two things you might try.

1) Try getDataArray() and setDataArray() to update multiple contiguous cells. Doing it this way is much much faster than updating one cell at a time. These methods are available for cell range object.

2) Try lockControllers() and unlockControllers() to disable/enable repainting while updating cell values. The example of these methods should be in my xcalc.cxx file I referenced earlier.

HTH,

Kohei

--
Kohei Yoshida, LibreOffice hacker, Calc

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.