Linear search somehow faster than binary search in C++?

后端 未结 0 844
有刺的猬
有刺的猬 2020-12-29 15:31

I have implemented binary and linear search in C++, but when I use the chrono library to measure speed, linear search seems to consistently beat binary search b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题