AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

[REQUEST] std::deque on MSVC degenerates to a vector of pointers

Open
#1,350 2 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.