Re: C++ vs Java "new" (no flame war please!)



mlw wrote:
real 0m1.020s
user 0m0.860s
sys 0m0.092s
test@localhost:~/scat$ time java test
Java heap space
Total object:741838

real 0m19.178s
user 0m16.893s
sys 0m1.728s

You're still not timing memory allocation but JVM startup and other factors.

-- Lew
.



Relevant Pages