[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luajit and curstom data structures
- From: CrazyButcher <crazybutcher@...>
- Date: Fri, 8 Apr 2011 20:15:50 +0200
What's the motivation behind using metatables for this in the first place?
Would directly using the ffi.new returned array object an option,
cause that would give you most speed?
-Christoph
2011/4/8 KR <krunal.rao78@gmail.com>:
> The issue I am having is that in the test code below the access to the elements
> of the vector via a metatable via __index and __newindex seems to be slower than
> the remaining ways of accessing this elements I have tested.