Skip to content

DList should have a method to push all elements from another list, leaving the other one empty #18402

@pcwalton

Description

@pcwalton

All the current ways to do this involve more moves than necessary, hurting performance. This was an important optimization in Servo.

cc @aturon @gankro

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-collectionsArea: `std::collections`C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions