|
|
|
|
|
by charleslmunger
794 days ago
|
|
>Do not implement your own fancy data structures: instead use the Standard Template Library. I use STL map, set, and vector all of the time and they remove the need for most other data-structures. Don't the STL tree and map data structures have notoriously poor performance? |
|
In other cases I saw a lot of runtime spent on std::map.
I think the best advice is: learn to use a profiler.