Re:Mapping Strings in C++
by user5994461 on Thursday April 13, 2017 @05:18AM
(#14105361)
Agreed that library needs to think about how programs will interact with them.
That program is just a benchmark to map millions of string to integers, it's valid to optimize processing.
Don't blindly throw work at multiple cores low down in algorithms. Amdahl's law tells you that the pay off is likely low, and if the program already makes proper use of the cores you're just going to slow things down.