3 ms·
std may not always have the best of datastructures even though they have generic-sounding names. A standard library could either be a testament to great foresig
by avgcorrection 5y ago
std may not always have the best of datastructures even though they have generic-sounding names. A standard library could either be a testament to great foresight or just a list of regrets.
Chandler Carruth has discouraged its use (Google talk 2014) because it’s a cache killer.
I wouldn’t use LinkedHashMap in Java unless I needed to preserve the order.