Skip to content

[Performance]: resolve_modifier_with_entrypoints tracks visited node in a Vec, using a HashSet should be better #1538

@nicolaassolini-qntm

Description

@nicolaassolini-qntm

Performance Issue

We are using a vector for visited nodes in two places:

let mut visited = vec![];

let mut visited = vec![];

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustArea: Rust codeC-perfCategory: PR/issue with code/suggestions for performance improvementsD-easyExperience needed to fix: Easy / not much

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions