lua-users home
lua-l archive

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

On Sat, Nov 15, 2008 at 3:05 PM, Florian Weimer <> wrote:
> * Alexander Gladysh:
> > I guess that the cost of returning function is compensated by proper tail
> > recursion in the "chain" case, and that x1.09 slowdown of the "plain_chain"
> > case is that cost itself.
> I think you are probably measuring GETUPVAL performance.

I think, that does not explain the difference between "plain_chain"
and "plain" cases. I would, however, adjust my cases to cache function
locally and post updated results here.