by rbanffy · 15y ago · 0 comments
And if you are serious about number crushing, my friends tell me you should use FORTRAN, not Java.
real, dimension(30000000) :: a
call random_number(a)
print *, sum(a)
That's 30 million doubles, takes 0.04s on my machine.