lua-users home
lua-l archive

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


On Sun, Feb 13, 2011 at 06:02, CrazyButcher <crazybutcher@luxinia.de> wrote:
> as hinted in their discussion, it is purely the
>
> pixels[index] = color
> write operation that kills performance
>
> I simply replaced the this.pixels with a ffi.double array and changed
> the iterators/write ops to be based on pointers, and BAM! 30 000 rays
> per second (50% faster than chrome (20 000 rps)) although I havent had
> the exact machine he used for testing the browsers I think (q6600 for
> me)
>

What was rays_per_second rate with their _original_ code on your machine?

--Leo--