Skip to content

<algorithm>: Extend vector<bool> algorithms optimization for ranges:: algorithm #6078

Open

Description

@AlexGuteniev

Make sure that for all algorithms specialized for vector<bool>, both std:: and ranges:: flavor is equally specialized.
Make sure all distinct code paths are tested.

Currently optimized:

  • copy
  • count
  • fill
  • find
  • move
  • transform
  • all_of / any_of / none_of

Activity

  1. IshanPhadte776 commented on Feb 18, 2026

    @IshanPhadte776

    I'll take a stab at this

  2. AlexGuteniev commented on Mar 2, 2026

    @AlexGuteniev
    ContributorAuthor
  3. bardan-dhakal commented on Mar 3, 2026

    @bardan-dhakal

    AlexGuteniev i'm interested as well, do you know what algorithms are still open that need work

  4. AlexGuteniev commented on Mar 4, 2026

    @AlexGuteniev
    ContributorAuthor

    do you know what algorithms are still open that need work

    All of the listed in the issue description. Their std:: version is optimized, and ranges:: version miss this optimization

  5. bardan-dhakal commented on Mar 5, 2026

    @bardan-dhakal

    cool, i'm hoping to submit a pr by this weekend

  6. IshanPhadte776 commented on Mar 6, 2026

    @IshanPhadte776

    I dont have the time rn for this, all good for someone else

  7. alexprabhat99 commented on Nov 25, 2026

    @alexprabhat99
    Contributor

    AlexGuteniev Is it okay if I take up this one?

  8. AlexGuteniev commented on Nov 25, 2026

    @AlexGuteniev
    ContributorAuthor

    Alex Prabhat Bara (@alexprabhat99) , I think so, yes.

    There's another vector<bool> PR open (#6148), but I don't expect terrible conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions