Should You Worry About Performance When Using java.util.Optional?
A few days ago I did a post on LinkedIn talking about the Optional class. One comment was an excellent question: Could the use of Optional lead to performance degradation?
The answer is: Yes, it can. But should you worry?