llst icon indicating copy to clipboard operation
llst copied to clipboard

Replace std::map with hashing container where maps are used as caches

Open 0x7CFE opened this issue 11 years ago • 0 comments

When using std::map as a cache we usually do not need ordered collection traversal features. Moreover, insert/access operations on std::map is O(log N) whereas insert to hash container (like unordered_map) is nearly O(1).

This may improve performance of VM.

0x7CFE avatar Nov 18 '13 10:11 0x7CFE