Thanks for all your replies.

I now know what made the difference (but still can't believe it!!!). Before I was running with the mains adapter only whereas the battery was removed. If the battery is inserted and the adapter is connected the runtime decreases "dramatically" even on my MacBook.

Battery INSERTED:
indexGenerator(0.08,0.15,30,100): 10.242
indexGenerator(0.08,0.15,30,1000): 100.875

Battery REMOVED:
indexGenerator(0.08,0.15,30,100): 19.779
indexGenerator(0.08,0.15,30,1000): 197.375

Would anyone have expected that? Sorry, but me I wouldn't.

Cheers,
Nils




Am 26.10.2008 um 07:54 schrieb Ken Beath:

On 26/10/2008, at 4:23 AM, Nils Rüfenacht wrote:

Thanks for your replies.

There's nothing special about my code (I guess), but here it is.


I have a 1 year old iMac 2 Ghz. The indexGenerator(0.08,0.15,30,1000) call takes about 121s in . For comparison I ran the Windows version under Parallels and it also takes about 120s.

I think you have a sick MacBook, look for a benchmarking program (maybe geekBench) and compare against others, or contact your Apple dealer and see what they suggest.

Ken

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to