https://bugs.documentfoundation.org/show_bug.cgi?id=165481

--- Comment #12 from Noel Grandin <[email protected]> ---
(In reply to Patrick (volunteer) from comment #7)
> 
> I am not familiar with the Calc code so who knows what necessary work
> ScColContainer::resize() does, but I did add an fprintf() (see my debug
> patch below) and during autosave I get the following output:
> 
>   Old vs new column size: 257 16384
> 

This should not be happening, something is accidentally triggering an
unnecessary resize. This is likely the real problem.


(In reply to satphil from comment #11)
> But my question is why would you bother with flag and width data if there's
> no data in these columns? Seems a *lot* of memory allocation for no obvious
> benefit.

The "width" of those two data structures is largely irrevelant, because they
are CompressedArray, so they compress repeating data, which means the "extra"
columns only cost a single entry.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to