14 ms·
> You don't see the memory difference You'll see the memory difference if you compare Java with C++: https://benchmarksgame-team.pages.debian.net/benchmarksgam
by alexeiz 8y ago
> You don't see the memory difference
You'll see the memory difference if you compare Java with C++:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/java-gpp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Except for one benchmark, where memory requirements are likely determined by the implemented algorithm, Java consumes in order of magnitude more memory across the board.
- igouy 8y ago> … Java consumes in order of magnitude more memory… Not for reverse-complement. Not for k-nucleotide. Not for binary-trees. Not for mandelbrot. Not for regex-redux. The others show the default JVM memory allocation mas o menos.