Skip to content

use Buffer.into_mutable to reuse the allocation if possible in take_n_true #10251

Description

@haohuaijin

Since this takes self by value, we could potentially use Buffer.into_mutable to reuse the allocation if possible

Originally posted by @alamb in #9823 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions