Razii wrote:
> http://pastebin.com/f6bfa4d78 (C++ version)
In a Sun-Fire-V240 computer I was able to bring down the execution
time of that program from 24630 ms to 3990 ms by using my own (portable)
memory allocator. The maximum memory usage was something like 55 MB.
"java Test" in that same computer runs the java program in 4502 ms.
With "java -server -Xms170m -Xmx170m -XX:NewRatio=1 Test" it was
1828 ms.