December 24th, 2007, 12:47 pm
QuoteOriginally posted by: robsan7QuoteOriginally posted by: CuchulainnCould you post the code so we can test it? We must compare apples and apples!are we talking about the same apples?The same random array should be used with c++, c#, VB. shouldn't it?You mean we should use exactly the same data for each language-specific program? VB might be faster but what about accuracy RAND() etc.But for this test I reckon the accuracy does not matter, just the performance??? So, we use Box-Muller (Granny Smith) or MT (Cox's pippins). So, choose the same scheme on each platform. Eventually, it all boils down to how good sin(), cos() and exp() are implemented. jcrew,Could you specify the problem in words? It is still not clear.
Last edited by
Cuchulainn on December 23rd, 2007, 11:00 pm, edited 1 time in total.