5 ms·
> you'll know just how slow memory allocation is Just a small nitpick, but allocation is definitely not slow in case of the JVM, it is often faster than manual
by kaba0 3y ago
> you'll know just how slow memory allocation is
Just a small nitpick, but allocation is definitely not slow in case of the JVM, it is often faster than manually managed languages. It is a pointer bump only.
All the necessary mechanisms of a GC does have an overhead, so your point stands, but not for the mentioned reason.
- deleted 3y ago[deleted]
- chollida1 3y agoOk sure that’s fair. Typically in HFT We just want to avoid any full sweep garbage collection between 8am and 6pm