Skip to content

More efficient filtering of formal params for block slicing #160

@KatGarmash

Description

@KatGarmash

One could filter them out at the stage of general_statements computation

Somwhere here:

general_statements = sorted((
            statement
            for statement in statements_in_scope
            if statement in manager.general_statements),
            key=lambda x: (x.start_point, -x.end_point))

Metadata

Metadata

Assignees

Labels

optimizationsome kind of refactoring that will increase computational complexity

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions