[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to clone a table in LJ2-friendly way?
- From: Mike Pall <mikelu-1108@...>
- Date: Wed, 31 Aug 2011 11:29:08 +0200
Geoff Leyland wrote:
> (What I don't understand in this case is why a trace was never
> even attempted for the pairs loop)
The parser generates different bytecodes when it recognizes
pairs()/next() in an iterator loop. I.e. this is already optimized
at the interpreter level. There's no point in triggering the
compiler for this kind of loop since it wouldn't compile, anyway.
--Mike
- References:
- Re: How to clone a table in LJ2-friendly way?, Dimiter "malkia" Stanev
- Re: How to clone a table in LJ2-friendly way?, Alexander Gladysh
- Re: How to clone a table in LJ2-friendly way?, Dimiter "malkia" Stanev
- Re: How to clone a table in LJ2-friendly way?, Dimiter "malkia" Stanev
- Re: How to clone a table in LJ2-friendly way?, Alexander Gladysh
- Re: How to clone a table in LJ2-friendly way?, Dimiter "malkia" Stanev
- Re: How to clone a table in LJ2-friendly way?, Alexander Gladysh
- Re: How to clone a table in LJ2-friendly way?, Dimiter "malkia" Stanev
- Re: How to clone a table in LJ2-friendly way?, Alexander Gladysh
- Re: How to clone a table in LJ2-friendly way?, Geoff Leyland