| Well on OSX it wins 3 out of 4.
64bit 32bit
oscili 0.859 1.157
poscil 0.722 0.991
oscil3 1.210 1.451
poscil3 1.146 1.500
On 21 Jan 2012, at 18:49, john ffitch wrote:
> Victor says
>> In fact floating-point maths is faster than integer maths in my computer:
>> 1000s of oscili -> Elapsed time at end of performance: real: 0.912s, CPU: 0.910s
>> 1000s of poscil -> Elapsed time at end of performance: real: 0.759s, CPU: 0.757s
>
> I am skeptical after i ran some experiments. I agree with oscili
> being slower that poscil IN ONE CASE. I have a mixture of computers
> here, so tried a couple, both latest git system compiled as doubles,
> linux. The 64bit is a dualcore 1.8Gz, 32bit older 1.4GHz single core
>
> 64bit 32bit
> oscili 2.74 3.73
> poscil 2.53 5.67
> oscil3 3.18 4.71
> posil3 3.56 6.85
>
> So p family wins 1 out of 4
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |