sonatype/nexus — comment on commit 1dfc9f820f4e66280dbc7e3c8689284db3455bf1
File: nexus/nexus-proxy/src/main/java/org/sonatype/nexus/proxy/registry/DefaultRepositoryRegistry.java line 237
By dbradicich:

I think it makes sense to do it here, do the slow action (building new map) on the least used methods, put and remove. Leaving get (most common) with simple quick operation