Re: Parsing varargs to a function

Roberto Ierusalimschy <[email protected]> Tue, 28 Apr 2026 13:14:03 -0300
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
> Personally I think I would have preferred select + truncation being peephole
> optimized as in LuaJIT in order to avoid the need for an additional language
> feature, but at least there's now a "canonical" way to iterate varargs in
> PUC Lua :)

Optimizing 'select' is hardly a peephole optimization, as there is no
way to know ahead of time whether the function that will be called is
the "real" 'select'.

-- Roberto

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/20260428161403.GA10499%40arraial.inf.puc-rio.br.