https://www.somethingsblog.com/2024/10/19/efficiently-clearing-and-reusing-java-hashmaps/