Why boundaries is std::list #1863
Answered
by
lalitb
ondra-novak
asked this question in
Q&A
-
Just explain me, why list is used here. Unless you need to insert into or erase from inside of the list, this container is very slow and you are loosing a lot of performance here. This has been changed from std::vector in commit a7e814a without any sign of need such a change and without explanation. |
Beta Was this translation helpful? Give feedback.
Answered by
lalitb
Dec 14, 2022
Replies: 1 comment
-
I can't recall why this was done now, but agree std::vector ( or perhaps std::array) would be more efficient. Creating a issue out of it. Thanks for raising the query. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ondra-novak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't recall why this was done now, but agree std::vector ( or perhaps std::array) would be more efficient. Creating a issue out of it. Thanks for raising the query.