[GEM-dev] Why is [hsv2rgb] implemented as an abstraction?

Frank Barknecht fbar at footils.org
Tue Dec 11 17:35:25 CET 2007


Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> Okay++: I benchmarked it, and Pd is slightly faster and I'm
> disappointed. ;) 
> 
> Could this be because Lua calculates double precision? Maybe I'll
> benchmark again with LUA_NUMBER set to float.

Okay+++: With single precision, lua finally beats Pd and is about a
fifth faster. I'm relieved, however that brings up the questions, if I
should use lua with single precision in Pd? What would I loose
(besides precision)?

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the GEM-dev mailing list