We've seen many talks devoted to the enhancements in Java new versions. Modules, var, immutable collections, switch expressions are quite popular amongst speakers. Large performance optimizations, such as new garbage collectors or compact strings, have already been discussed. However, very few people talk about simple work with standard libraries. Yet this work goes on, and, unbeknownst to users, Java gets faster here or there.
This talk is about small optimizations in very basic and ubiquitous classes (such as String, ArrayList, HashSet), which were brought into life after Java 8 release and which make our life better.