lua-users home
lua-l archive

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




On 16 Nov 2020, at 16:26, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

You know the first three rules of optimisation, right?  They are, in order:

1. Measure
2. Measure
3. Measure

Also:
1. Don't.
2. Don't... yet.
3. Profile before optimizing


anyway, usage of lua_pushlstring instead of lua_pushstring is much better.


-- 
Yours sincerely, Eugeny.
+33 6 38 52 27 93