explorable-viz / fluid

Data-linked visualisations
http://f.luid.org
MIT License
32 stars 1 forks source link

Build graph imperatively #1008

Open rolyp opened 2 weeks ago

rolyp commented 2 weeks ago

Accumulating a graph “descriptor” in a monoid and then imperatively converting it into a graph may account for some of the current performance overhead. It may be worth just using the ST monad to build the graph directly, forgoing the intermediate data structure.