[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 20 Nov 2015 10:40:50 -0200
> > On Thu, Nov 19, 2015 at 1:49 PM, Roberto Ierusalimschy
> > <firstname.lastname@example.org> wrote:
> > >> Lua 5.3.2 (rc1) is now available for testing at
> > >> http://www.lua.org/work/
> > >
> > > What is new:
> > >[...]
> > > - table.sort "randomize" the pivot
> > Was there a reason for using ints for the indexes (lo/up)? Why not lua_Integer?
> ints are more efficient for 32-bit machines, and are big enough for normal
> cases (as arrays in Lua cannot have more than 'int' elements anyway).
(Answering myself...) Of course, the difference in performance is
certainly negligible, compared with all other operations (table
accesses, value comparisons, etc.).
Moreover, people concerned about performance in 32-bit machines should
really consider Small Lua.