4 ms·
> About the memory footprint: The runtime is larger, so there's a baseline cost you have to pay for the JITs. But baseline != linear cost. I do not think so. H
by geodel 10y ago
> About the memory footprint: The runtime is larger, so there's a baseline cost you have to pay for the JITs. But baseline != linear cost.
I do not think so. Here is explanation about Java memory bloat in typically used data structures.
https://www.cs.virginia.edu/kim/publicity/pldi09tutorials/memory-efficient-java-tutorial.pdf https://www.cs.virginia.edu/kim/publicity/pldi09tutorials/me...
- the8472 10y agoThat is true - although typed arrays will solve that in the future - but the benchmarks you cite (e.g. fannkuch-redux) still run into a memory floor created by the larger runtime. Also, `regex-dna` will probably benefit from compact strings in java 9. And some of the longer-running benchmarks are in fact faster on java, so I think that supports my point about warmup.
- igouy 10y ago> (e.g. fannkuch-redux) still run into a memory floor Yes, apart from reverse-complement, regex-dna, k-nucleotide, binary-trees. > Also, `regex-dna` will probably benefit from compact strings in java 9. Do you actually know that com.basistech will re-write their library to use compact strings? > I think that supports my point I think that's called cherry picking.