[luatex] print versus tex.print
zappathustra at free.fr
Tue Jan 24 07:41:43 CET 2012
Reinhard Kotucha <reinhard.kotucha at web.de> a écrit:
> On 2012-01-23 at 23:41:37 +0100, Paul Isambert wrote:
> > Reinhard Kotucha <reinhard.kotucha at web.de> a écrit:
> > > AFAIK, ipairs() is deprecated in Lua 5.2 too.
> > No, it's not, there even are new metamethods __ipairs and __pairs. See:
> > http://www.lua.org/manual/5.2/readme.html#changes
> > (You frightened me for a second.)
> When you mentioned Lua 5.2, I googled a little bit. I found
> See item 19. I don't know how relevant it is, it's at least not the
> official site. I suppose that this page is about things which were
> discussed in the Lua world, at least.
You're right, it was discussed, but ipairs was kept undeprecated. There
seems to be a discussion going on as: `ipairs is slow compared to a
numeric "for"' vs. `so many people are used to it'.
More information about the luatex