> garbage is still often an issue in Java.
Not anymore. That future is here. Java is getting "flattenable" types not because of GC, but because of iteration.
Not anymore. That future is here. Java is getting "flattenable" types not because of GC, but because of iteration.
As part of this change, existing built-in primitive types (like int or double) will retroactively become instances of these more general objects.