News for hackers. Stuff that matters.
Re:For Better Computing, Liberate CPUs from Garbage Collection by SlipperySlope on Thursday May 09, 2019 @10:40AM (#19868687)
In Java, I created thread local resource pools including strings which eliminate garbage collection in sensitive routines. Of course it’s much faster in java to perform pooled string comparison with ==. Likewise I always use the indexed version of a for loop to avoid the iterator otherwise allocated.

GC in java is great for non-priority code which is most of the application.

There are no comments on this comment yet.