Skip to content

Tech debt - costly operations in loop should omit initialExpression #677

@TilakMaddy

Description

@TilakMaddy
          Ah wait... this detector looks inside the entire for loop. So it should cover that case. The only false positive would be if there is a sstore in the initial expression haha .  Will resolve it as tech debt

Originally posted by @TilakMaddy in #662 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementPotential Improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions