International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 127 - Number 2 |
Year of Publication: 2015 |
Authors: Akanksha Bindal, Prateek Narang, S. Indu |
10.5120/ijca2015906322 |
Akanksha Bindal, Prateek Narang, S. Indu . Map vs. Unordered Map: An Analysis on Large Datasets. International Journal of Computer Applications. 127, 2 ( October 2015), 5-9. DOI=10.5120/ijca2015906322
In the current scenario, with the transpiring big data explosion, data sets are often too large to fit completely inside the computers´ internal memory. In efficient processes, speed is not an option, it is a must. Hence every alternative is explored to further enhance performance, by expanding in-place memory storage that enables more data to be resident in the memory, eliminating operation latency, and even deploying an in-memory database (IMDB) system where all the data can be kept in memory. However, the technique of in-memory data handling is still at an infant stage and not viable in the current scenario. To tackle this problem a hierarchical hashing scheme is discussed where only one component of a big data structure resides in the memory. In this paper two data structures are explored: 1) Map which is implemented as self-balancing binary search trees or more commonly Red Black Trees and 2) Unordered Map which is based on hashing with chaining technique. Serialization and deserialization operations are also performed to free the internal memory and preserve the data structure object for later use. Operations such as read, write are performed, along with documentation of the results and illustrations of visual representations of the two algorithmic data structures.