Skip to content

<string>, <vector>: Contiguous containers should benefit from allocate_at_least #3570

Description

Currently nothing in MSVC STL calls the allocate_at_least member function of an allocator except the mandatory call in allocator_traits, which means that even if one adds allocate_at_least with the expected optimization to a provided allocator type, the behavior of STL doesn't change at all.

libc++ has made use of allocate_at_least via LLVM-D122877. I think MSVC STL should also do so.

Activity

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

    fixedSomething works now, yay!performanceMust go faster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions