Lambda Expression with Primitive Types in Java: Performance Impact?
Generic functional interfaces quietly box every primitive. Usually that's fine — until you're doing it a million times.
Jun 18, 20213 min read18

Search for a command to run...
Series
Generic functional interfaces quietly box every primitive. Usually that's fine — until you're doing it a million times.

The classic thread model is heavier than it looks — which is exactly why the JVM eventually stopped mapping threads one-to-one to the OS.
