3 ms·
I've written similar code before using absolutely bog standard idiomatic OOP Java. For a single threaded program I'd expect at least 1GB/s before any optimizati
by xmcqdpt2 3y ago
I've written similar code before using absolutely bog standard idiomatic OOP Java. For a single threaded program I'd expect at least 1GB/s before any optimization. Most of the allocations in the loop that aren't the final records objects will get erased by JIT.
They are doing something very wrong.
- sebstefan 3y agoLet me rephrase this for you They're doing something slightly wrong that's making a non-bottleneck part of their code less optimal than it should be.