The Wayback Machine - https://web.archive.org/web/20260107115218/https://github.com/github/codeql/pull/4765
Skip to content

Conversation

@aschackmull
Copy link
Contributor

Why?

@hvitved
Copy link
Contributor Author

hvitved commented Dec 2, 2020

Why?

This removes the only reference to getPreUpdateNode() that would otherwise be computed for each and every data-flow query, which may be expensive in the long run.

@aschackmull
Copy link
Contributor

I guess that just shifts my confusion as to why getPreUpdateNode would be expensive. Maybe that is a candidate for caching in the language-specific part if it for some reason is expensive for a single language?

@hvitved hvitved closed this Apr 20, 2021
@hvitved hvitved deleted the dataflow/cache-postupdate-out branch April 20, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants