It depends on the different scenarios on which hashmap is used:-
1. If the objects in the hashMap are same then there is no point in having different hashmap as the traverse time in a hashmap is invariant to the size of the Map.
2.If the objects are of different type like one of Car class , other of Truck class etc then also one can have single hashmap but different hashmap would score over it as it increasesreadability of the code.
MONGODB 3.2.8, WIREDTIGER STORAGE ENGINE
SINGLE COLLECTION HAS MORE THAN 500G, WHETHER IT NEEDS TO BE SEPARATED?
WHAT PARAMETER SHOULD BE ADJUSTED ?
Forgot Your Password?
2018 © Queryhome