STL Alternative

前端 未结 15 1810
故里飘歌
故里飘歌 2021-01-31 04:24

I really hate using STL containers because they make the debug version of my code run really slowly. What do other people use instead of STL that has reasonable performance for

15条回答
  •  北恋
    北恋 (楼主)
    2021-01-31 04:39

    If you're using Visual C++, then you should have a look at this:

    http://channel9.msdn.com/shows/Going+Deep/STL-Iterator-Debugging-and-Secure-SCL/

    and the links from that page, which cover the various costs and options of all the debug-mode checking which the MS/Dinkware STL does.

    If you're going to ask such a platform dependent question, it would be a good idea to mention your platform, too...

提交回复
热议问题