Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Would it make sense to pre-allocate this HashSet with a capacity of the sum of input_native_tokens.len() and output_native_tokens.len() so this doesn't ever have to re-allocate? #1332

@thibault-martinez

Description

@thibault-martinez

Would it make sense to pre-allocate this HashSet with a capacity of the sum of input_native_tokens.len() and output_native_tokens.len() so this doesn't ever have to re-allocate?

Originally posted by @Alex6323 in #1331 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions