AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
[REQUEST] std::deque on MSVC degenerates to a vector of pointers
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
I would like to point out to a performance issue on MSVC, where std::deque degenerates to a vector of pointers for all practical purposes.
https://github.com/microsoft/STL/issues/147#issuecomment-1090148740
It may be a good idea to typedef an OpenVDB::deque to boost::container::deque for performance gains on Windows.
Contributor guide
Research direction
The request concerns OpenVDB's use of std::deque and points to Microsoft STL issue 147 for the MSVC behavior. Start by locating deque usage and the project's dependency configuration, then evaluate whether boost::container::deque is available and beneficial on Windows. Done means the proposed alias is validated against relevant builds and performance-sensitive uses, with tests or benchmarks updated as needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100