std::map is "expensive"
Created by: ax3l
When exposing attributes and variables, we probably shouldn't use std::map
(red-black tree, logarithmic complexity) but at least std::unordered_map
(buckets, average constant-time complexity) for efficiency.
Note that Python's dict{}
returned in the Python API is also an unordered map.