lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> (LUA_BUFFERSIZE -> LUAL_BUFFERSIZE)
Yes, sorry.
> In test mode, LUAL_BUFFERSIZE is defined as 23 and all works fine. So, it
> is safe to make it small. But it can be inefficient: Buffer manipulation
> with data larger than LUAL_BUFFERSIZE is reasonably more expensive. (Most
> functions in the string library use buffers to produce their string
> results, for instance.) But something like 500 bytes or even 250~300 seems
> quite reasonable.
OK, perfect! Of course there will be a performance trade-off, but
knowing that we can start small and increase the size as needed seems
really useful. Thanks!
>
> -- Roberto
>
>