Skip to content

Conversation

@markshannon
Copy link
Contributor

Avoid computing many redundant copies of flow-step for dicts and sequences.
For example, the path-injection query has 114 different SequenceKind or DictKind. Most of these are unused, so we don't want to compute flow-steps for them.
Reduces the size of TaintKind.getTaintForFlowStep(...), which could exceed 1Gb, to about 2% of its original size.

@markshannon markshannon added this to the 1.20 milestone Mar 26, 2019
Copy link
Contributor

@taus-semmle taus-semmle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will merge as soon as the tests pass.

@taus-semmle taus-semmle merged commit 52d8ca0 into github:rc/1.20 Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants