[fpc-pascal] Concat TCollection?

Ryan Joseph genericptr at gmail.com
Sun May 3 10:56:38 CEST 2020


I have many TCollection's that I need to concat together into one larger collection for streaming. Since it's just a list I thought I could add the elements together but it appears TCollection requires that it allocate each item.

Is there a way to do this without relocating each item of the collection? There could be 10000+ items so it's important that I reuse the existing collections.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list