Pure functions

Running a pure expression tree into a set node and then using the result only once would be a tiny bit slower. If you use the result of the tree more than once (and know that no queried values inside of it have changed), then saving it to a variable and reading that variable is going to be faster.

Cheers,
Michael Noland

1 Like