[Lazarus] In search of a component for holding a table of strings

Michael Schnell mschnell at lumino.de
Tue Jan 10 12:24:05 CET 2017


On 09.01.2017 23:28, Werner Pamler via Lazarus wrote:
> I would be tempted to implement such a table in fpspreadsheet, but its 
> problem is that it occupies memory for empty cells while the AVLTree 
> stores only existing cells (at the expense of the cell record which 
> contains row and column indexes).
What about a two dimensional array of integers pointing to a one 
dimensional array of strings, and doing some garbage collection cells 
are set to empty strings ? (Maybe even identical strings can be managed...)

-Michael


More information about the Lazarus mailing list