[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Returning nil vs returning nothing
- From: Viacheslav Usov <via.usov@...>
- Date: Thu, 29 Oct 2020 17:53:47 +0100
On Thu, Oct 29, 2020 at 2:53 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> This is true for non-variadic functions as well, as Lua has to prepare
> the n arguments to the function.
Yes, my statement was trivial in its essence.
However, non-variadic functions are (usually, in most languages) not
called with a variable number of arguments, so one would not speak of
O(n) in that context.
Cheers,
V.