[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Advantages of Lua using 'floats' over Lua using 'doubles'
- From: "Robert Osfield" <robert.osfield@...>
- Date: Tue, 4 Jul 2006 13:02:49 +0100
On 7/4/06, Jose Marin <jose_marin2@yahoo.com.br> wrote:
Yes, I'm asking the performance of games on PCs.
In general I'd expect Lua apps not to be sensitive to float vs doubles
on PC's. However, write a prototype app and benchmark it, it the sure
fire way of finding out.
Graphics hardware is all floats so if you are planning on passing data
from Lua to it then there will be conversions going on, however, one
would typically wrap all the low graphics API calls in C or C++ so
this may well be a moot point.
Robert.