std:lower_bound and std::set::lower_bound

C++ std::lower_bound and std::set::lower_bound

在set中使用std::lower_bound发现非常耗时,而使用std::set::lower_bound发现速度明显提升。
该文章解释说明了这两个的区别,在set中使用std::set::lower_bound才是最好的选择。

原文地址:https://www.cnblogs.com/lemon-jade/p/14748100.html