Skip to content

Conversation

leebyron
Copy link
Contributor

During multiple validation passes we need to know about variable usage within a de-fragmented operation. Memoizing this ensures each pass is O(N) - each fragment is no longer visited per operation, but once total.

In doing so, visitSpreadFragments is no longer used, which will be cleaned up in a later PR

During multiple validation passes we need to know about variable usage within a de-fragmented operation. Memoizing this ensures each pass is O(N) - each fragment is no longer visited per operation, but once total.

In doing so, `visitSpreadFragments` is no longer used, which will be cleaned up in a later PR
leebyron added a commit that referenced this pull request Nov 17, 2015
[Validation] Memoize collecting variable usage.
@leebyron leebyron merged commit ef7c755 into master Nov 17, 2015
@leebyron leebyron deleted the memo-variable-use branch November 17, 2015 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants