Well, it was worth the effort. If nothing else, this little benchmark is what finally convinced me to spend the 10 minutes (5?) to upgrade to the STLport library.
[code]
// STLport version
Mean = 10%, Count = 1000000
Container Inserts Deletes Review Total
list<int> 0.95361 0.58694 0.47611 2.01666
vector<int> 0.35431 0.25473 0.09621 0.70525
priority_queue<int> 0.77189 1.54682 0.19399 2.51270
[/quote]
[code]
// Microsoft STL
Mean = 10%, Count = 1000000
Container Inserts Deletes Review Total
list<int> 10.11678 18.21594 0.67912 29.01184
vector<int> 0.95311 0.85283 0.51623 2.32218
priority_queue<int> 2.79621 17.38918 2.11142 22.29680
[/quote]
|