Skip to content
Snippets Groups Projects
Commit 9bd39103 authored by Enrico Guiraud's avatar Enrico Guiraud Committed by Danilo Piparo
Browse files

[TDF] Remove define nodes from the functional graph.

`Define` now returns the same node it is called on rather than a new
node of the functional graph.
This is a performance optimization as it removes the need to traverse
these nodes during the event loop, e.g. when checking filters in a
functional chain.

Behaviour is unchanged (except for `Define`s return type, which should
never be explicitly typed out by users anyway) and users can keep
treating `Define` _as if_ it returned a new node of the functional
graph.
parent 262d6b06
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment