Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<vector>: Apply append-and-rotate for vector<bool> insertion #3021

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #3007.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner August 10, 2022 12:03
@strega-nil-ms strega-nil-ms self-assigned this Aug 10, 2022
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM!

@strega-nil-ms strega-nil-ms removed their assignment Aug 10, 2022
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Aug 10, 2022
@StephanTLavavej StephanTLavavej self-assigned this Aug 10, 2022
stl/inc/vector Outdated Show resolved Hide resolved
stl/inc/vector Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej removed their assignment Aug 10, 2022
@StephanTLavavej
Copy link
Member

Thanks! FYI @strega-nil-ms, I pushed minor changes after you approved.

@StephanTLavavej StephanTLavavej self-assigned this Aug 11, 2022
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 35cf7df into microsoft:main Aug 12, 2022
@StephanTLavavej
Copy link
Member

Thanks for fixing this performance bug that was so bad it became a correctness bug!

🐞

🐞

🐞

@frederick-vs-ja frederick-vs-ja deleted the vector-bool-append-rotate branch August 12, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<vector>: vector<bool>::insert(where, first, last) has forbidden complexity for input iterators
3 participants
  翻译: