5 ms·
For the most naive code, if you're calling "new" multiple times per row, maybe Java benefits from out of band GC while C++ calls destructors and free() inline a
by woooooo 8mo ago
For the most naive code, if you're calling "new" multiple times per row, maybe Java benefits from out of band GC while C++ calls destructors and free() inline as things go out of scope?
Of course, if you're optimizing, you'll reuse buffers and objects in either language.
- igouy 8mo ago> maybe Java benefits from out of band GC benchmarks game uses BenchExec to take 'care of important low-level details for accurate, precise, and reproducible measurements' …. BenchExec uses the cgroups feature of the Linux kernel to correctly handle groups of processes and uses Linux user namespaces to create a container that restricts interference of [each program] with the benchmarking host.
- woooooo 8mo agoI'm talking about memory management in-process, I dont think cgroups would affect that?