Emily Boudreaux ba457e7d10 feat(utils/dependencies): Added computational graph system
The initial prototype for this code used a number of bespoke so-called "prepared" operators to avoid recomputation of values which we could be sure would not change. However, this system was hard to scale. Here we implement an equivalent, but much more scalable, solution through a computational graph which keeps track of inputs and outputs to each node and only reruns the node when the inputs have changed. Note that this is a simplistic optimization scheme, we are do not check for example if the outputs change strongly or even at all with different inputs (generally that would require derivatives of the outputs wrt. each input) nor do we do any sort of graph optimization.
2026-11-09 13:38:55 -05:00
2026-09-20 14:37:11 -04:00
2026-09-20 14:37:11 -04:00
Description
No description provided
86 MiB
Languages
C++ 95.2%
Python 3.2%
Meson 1.4%
Just 0.1%