Skip to content

The ranges algorithms aren't optimized for vector<bool> #64038

Closed
@philnik777

Description

@philnik777

Currently we are missing a lot of vector<bool> optimizations, because we are overloading the public interface instead of a private one.

  • std::equal
  • std::rotate
  • std::swap_ranges
  • std::move_backward
  • std::move
  • std::copy_backward
  • std::copy
  • std::fill
  • std::fill_n
  • std::count
  • std::find

Metadata

Metadata

Assignees

Labels

libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.performancerangesIssues related to `<ranges>`

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions