-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👒 Include function signature in reactive edge - fix #177 #538
Conversation
Co-authored-by: Karl Wessel <karl.wessel@stud.uni-goettingen.de>
Important bits are: #177 is solvedhttps://github.com/fonsp/Pluto.jl/pull/538/files#diff-d4b8b4704dfa87745eb39b155c966ae4 New type to represent nodes in the reactive graph, with more detailed front and back edgesPluto.jl/src/analysis/ReactiveNode.jl Lines 3 to 49 in 1fb58c4
Pluto.jl/src/analysis/Topology.jl Lines 63 to 88 in 496d5b5
We canonalize the expression containing the method signaturePluto.jl/src/analysis/ExpressionExplorer.jl Lines 697 to 823 in 8f030b6
|
Haha the rewrite is 100x faster WHAT on the first run, because i found some code that causes lots of allocations. On subsequent runs, there is a 1.5x - 2x runtime speedup, nice! No difference in allocs. See results here: tested on a digitalocean 2vCPU 4GB computer (run in VS Code with Alt+Enter) |
Co-authored-by: fonsp <fonsvdplas@gmail.com> Co-authored-by: Jelmar Gerritsen <jelmargerritsen@gmail.com> Co-authored-by: Michiel Dral <m.c.dral@gmail.com>
If you want to try it out: