3 ms·
so write a specialized GC for the task in C or C++. C++ can always win! JVM has hotspot? use profile guided optmization in C! There is no escape!
by jackmott 9y ago
so write a specialized GC for the task in C or C++.
C++ can always win!
JVM has hotspot? use profile guided optmization in C!
There is no escape!
- sgift 9y agoIf you are one of the three people in the world that can do it. ;-)
- fauigerzigerk 9y agoJust use an arena allocator (or similar) where appropriate. It's not difficult and it's how C, C++ and Rust win all micro benchmarks that involve memory allocation: http://benchmarksgame.alioth.debian.org/u64q/binarytrees.html http://benchmarksgame.alioth.debian.org/u64q/binarytrees.htm...