Hi, I recently came across the following page:
http://www.mega-nerd.com/FPcast/ which explains how to optimize double array -> int array conversion. On selassie I get: 19:30 [EMAIL PROTECTED] /tmp% gcc -lm -O3 fp_cast_test.c -o fp_cast_test 19:30 [EMAIL PROTECTED] /tmp% ./fp_cast_test GCC version : 3.3 Testing float -> int cast. cast time = 1.000 cast time / int_pipe time = 1.265 cast time / lrintf time = 1.832 cast time / macro time = 5.465 Testing double -> int cast. cast time = 1.000 cast time / lrint time = 2.166 cast time / macro time = 5.381 (these are time division factors). So, it might be useful to have those hacks in liquidsoap... ++ Sam.
