lua-users home
lua-l archive

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


On Thu, Aug 26, 2004 at 05:30:20PM -0500, Shannon Stewman wrote:

> It makes sense; luaL_checkudata also uses a luaL_getmetatable

Hrm.  This is wrong.  Sorry about that accusation.

Profiling it still shows a substantial speedup.  Most of my time is
spent in tight loops calling into C for array lookups (it's a Monte
Carlo lattice simulation); perhaps that effects things differently?

Cheers!

-- 
Shannon Stewman         | Let us walk through the waning night,
Caught in a whirlpool,  | As dawn-rays tickle our toes, the dew soothes
A quartering act:       | Our blistered soles, and damp bones stir
Solitude or society?    | As crimson cracks under the blue-grey sky.