Marko Milenković
Data-Oriented Programming in Java: Move Data to Functions
Your Car class has twelve methods now. Washing, waxing, polishing, billing — everything that ever needed the car's fields got bolted onto it. Nobody remembers …
How to Write Classes With Multiple Case Insensitive Strings
Introduction In a previous article, I discussed how to efficiently store strings in a hash map and search for them without worrying about case sensitivity. I …
How to Use Case Insensitive String in Hash Map
Introduction By default, Microsoft SQL Server processes strings without considering their case sensitivity. Java, unlike Microsoft SQL Server, is case-sensitive …
What Is Memory Churn and How to Avoid It in Java
Introduction Modern hardware is very good at predicting the next instructions to be executed. This kind of prediction allows CPUs to do more work in less time. …