Why do std::string operations perform poorly?

后端 未结 12 1619
误落风尘
误落风尘 2020-12-22 23:43

I made a test to compare string operations in several languages for choosing a language for the server-side application. The results seemed normal until I finally tried C++,

12条回答
  •  一整个雨季
    2020-12-23 00:27

    It seems that in nodejs there are better algorithms for substring search. You can implement it by yourself and try it out.

提交回复
热议问题