> … 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.
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.
You'll see the memory difference if you compare Java with C++: 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.