Switch from Microsofts STL to STLport

前端 未结 8 1271
不知归路
不知归路 2021-02-13 04:34

I\'m using quite much STL in performance critical C++ code under windows. One possible \"cheap\" way to get some extra performance would be to change to a faster STL library.

8条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-13 04:49

    If you use the STLPort you will enter a world where every STL-based third party library you use will have to be recompiled with STLPort as well to avoid problems...

    STLPort does have a different memory strategy, but if this is your bottleneck then your performance gain path is changing the allocator (switching to Hoard for example), not changing the STL.

提交回复
热议问题