News for hackers. Stuff that matters.
Re:JVM JIT optimization techniques by pron on Sunday May 29, 2016 @12:22AM (#11794770)
That's not a functional style, but an observation of how most (non-pathological) code behaves. If you're talking about escape analysis and stack allocation, the functional style doesn't help, because references escape all the time. That they're pointing to immutable objects doesn't matter.

In any case, whether functional or not, the observation is that many objects have limited scopes, that correspond to structural scopes in the code.

Re:JVM JIT optimization techniques by merb on Sunday May 29, 2016 @04:45AM (#11795546)
Actually In all analysis seen so far it mostly is way slower to do the Java EE style (biomorphic, megamorphic) and instead use normal classes, static class functions instead of polymophism. So actually a flat level is way faster than any sane stuff which is mostly done in a lot of Enterprise software.