lua-users home
lua-l archive

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

Em seg., 16 de nov. de 2020 às 09:00, Francisco Olarte <> escreveu:
Anyway, what I was going to send. Are you aware that many of these
micro optimizations are cargo cult from a bygone age of simpler
Yes, there is an inheritance there.
But keep in mind, that Lua is compiled in a huge variety of environments and compilers.
And not everyone is lucky enough to have a super efficient compiler available.
In addition, small discrepancies can penalize some hotpath, even in a modern compiler.
Make it clear to the compiler that you can optimize, for sure, will generate better code.

Ranier Vilela