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



On 25/08/17 16:42, Eike Rathke wrote:
Does not sound very appealing to me. A better lookup time is certainly
desirable by means of interpolation or binary search, but at the cost of
insertion/deletion time that's not gonna fly.

        Sure - unfortunately its not possible to do a good interpolation lookup
without the positions in there.

We still have bottlenecks
where inserting and especially changing type of a cell, which leads to
shrinkage of one block and enlargement or insertion of another, can
build up to looong waiting times. I don't have the bug number at hand
right now, but the worst case is a Find&Replace that changes string
cells to numeric (or vice versa) in a column of data.

        Last I looked at that - we were doing find/replace horizontally which
was very wasteful - and switching it to doing things in a columnar
direction seemed to help in
https://bugs.documentfoundation.org/show_bug.cgi?id=92160

I think these should be addressed first.

        Fair cop; ultimately - re-building the column as it is replaced by
moving and appending the items to a new clean column should have a more
linear cost there I'd hope.

        Any other concerns there ? ultimately the old code must have had this
linear cost too - for insertions / deletions etc. (but not for cell type
changes).

        ATB,

                Michael.

-- 
michael.meeks@collabora.com <><, Pseudo Engineer, itinerant idiot

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.