I'm going to be working with a relatively big data-set (~10,000 entries) which is constantly read (every few seconds most data will be read) and occasionally written to. Is there a a performance advantage I can get by splitting all this information into chunks (by, let's say a name as they are not unique) or just throwing everything into one map and reading from it? Performance is really important. E.g.:

```
private HashMap<String, ObjectInformation> map = new HashMap<>();
public ObjectInformation imitateOperation(String query) {
   return map.get(query);
}

```

vs

```
private HashMap<String, HashMap<String, ObjectInformation>> map = new HashMap<>();
public ObjectInformation imitateOperation(String name, String query) {
   return map.get(name).get(query);
}

```

Thank you.