[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT with vectors
- From: Mark Hamburg <mark@...>
- Date: Thu, 18 Nov 2010 21:59:41 -0800
One step to take if the real concern is Vector3 is implement a suballocator that optimizes this case. Lua 5.2 may also help since it can recognize that Vector3 has no __gc metamethod.
If you need arrays of Vector3's, then you probably want to create a type for those as well though that means that all accesses potentially construct another userdata object.
Mark