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

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Jan 10 12:35:55 CET 2017


Am 2017-01-10 um 12:24 schrieb Michael Schnell via Lazarus:
 > On 09.01.2017 23:28, Werner Pamler via Lazarus wrote:
 > 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...)

What's the difference between a 2 dimensional array of intergers and a 2 dimensional array of pointers (assuming that integers use the same space as a pointers)?
Even worse, you would need additional dereferencing and also an additional integer for each string.



More information about the Lazarus mailing list