lua-users home
lua-l archive

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


Tim Gogolin wrote:

> Replacing
>     x = math.sqrt( y )
> with
>     x = math_sqrt( y ) -- make math_sqrt a local that is
>         -- defined above the inner loop code

Mark Hamburg wrote:

> I don't know of a good way to optimize this sort of thing
> automatically.

I believe Tim was just talking about optimizing the language
shootout benchmarks by hand.

-- 
Aaron