Settings

Theme

Performance Impact of Functional Programming in Java

beyondjava.net

1 points by s4ik4t 5 years ago · 1 comment

Reader

zelphirkalt 5 years ago

> Creating a new object is always expensive. Lambda functions are basically anonymous inner functions. So using a functional algorithm always creates zillions of objects, adding a lot of pressure on the garbage collector.

If that is true, it means to me, that the compiler is too stupid to transform the code into something, which does not create the same objects over and over again.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection