mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
The user knows that an expression functionally determines its hashCons value, and that an expression functionally determines its number of children, but this is not provable from the definitions, and so not usable by the optimiser. By storing the result of those known-functional calls in a variable, rather than repeating the call, we enable better join orders.