On 1/9/17, Werner Pamler via Lazarus <[email protected]> wrote:
> I would be tempted to implement such a table in fpspreadsheet, but its > problem is that it occupies memory for empty cells An empty cell occupies only a nil pointer. Mind you that when you do not know the dimensions of the table AND you have to increase ColCount several times whilst filling the table, then I suspect things will slow down significantly, because each increase of ColCount requires RowCount times a SetLength on each row (which means re-allocating the entire row). I think dealing with spreadsheets needs a component that scales well. I got an EOutOfMemory on a 10000x5000 table (for which I also had all strings in memory a second time though). Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
