Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More efficient filtering of formal params for block slicing #160

Open
KatGarmash opened this issue Dec 13, 2021 · 0 comments
Open

More efficient filtering of formal params for block slicing #160

KatGarmash opened this issue Dec 13, 2021 · 0 comments
Assignees
Labels
optimization some kind of refactoring that will increase computational complexity

Comments

@KatGarmash
Copy link
Collaborator

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))
@KatGarmash KatGarmash added the optimization some kind of refactoring that will increase computational complexity label Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization some kind of refactoring that will increase computational complexity
Projects
None yet
Development

No branches or pull requests

2 participants