Hacker News new | ask | show | jobs
by gbasin 1339 days ago
sub 10 in Java was very doable 10 years ago, fwiw. even better than collecting once a day is doing everything off-heap — C-style java :D
1 comments

Just keep your objects live, attach reusable scratch space to them, and memory pool them instead of throwing them away.

(from my experience anyway in writing critical-path allocation-free C# with Unity).

ya, also keep everything in cache to be below a few mics