C++ Vector vs Array (Time)

前端 未结 4 1976

I have got here two programs with me, both are doing exactly the same task. They are just setting an boolean array / vector to the value true. The program using vector takes

4条回答
  •  暖寄归人
    2020-12-14 13:06

    Have a look at this

    Using arrays or std::vectors in C++, what’s the performance gap?

提交回复
热议问题