[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Exposing the string buffer used internally by `string.gsub` and `table.concat`
- From: bil til <biltil52@...>
- Date: Thu, 12 Jan 2023 18:49:36 +0100
Am Do., 12. Jan. 2023 um 18:11 Uhr schrieb Lars Müller <appgurulars@gmx.de>:
>
>...If you are building
> strings character-wise, this will use 8 - 4 times the memory of the
> internal string buffer on a 64-bit system. Additionally, it requires you
> to build a table, even if everything could be streamed directly into the
> buffer.
... but if you use string.char() function, then this would work?
... could you somehow specify a "typical application" which you have
in mind, so that we somehow avoid "talking past each other"... ?