[Date Prev][Date Next][Thread Prev][Thread Next]
- From: CrazyButcher <crazybutcher@...>
- Date: Sun, 13 Feb 2011 14:00:14 +0100
2011/2/13 Leo Razoumov <email@example.com>:
> What was rays_per_second rate with their _original_ code on your machine?
it takes an eternity... given the pixels output array is one giant
table, it gets slower and slower the more pixels are added (as
consquence of making that pixel[index] = color, index = index + 1).
Without ffi I have only 6 600 rps (all with current luajit head).
more of the for 1,3 loops. Also I think using ffi is more fair given
mean LuaJit is twice as fast on my system.