Mathieu Bouchard wrote:
>
> seriously, with optimisers it's becoming harder to make some measurements.
> C has a type modifier called "volatile" while forces true read/write on a
> variable, which can be useful when handling signals, threads, mmaped
> hardware, and... benchmarks.
>

That's very useful! Now I get a more sane result:

For SETFLOAT(a, i)

1e6 iterations:  5161 usec
1e9 iterations: 2.457 sec

>
> Anyway... in the context of remote procedure calls and massive disk
> accesses, SETFLOAT should be the least of your concerns.
>

Agreed.

Jamie



_______________________________________________
PD-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to