VineLang / vine

an experimental new programming language based on interaction nets
https://vine.dev
Apache License 2.0
12 stars 2 forks source link

ivm: benchmarking intrinsic #55

Open tjjfvi opened 18 hours ago

tjjfvi commented 18 hours ago

Should "stop the world" (at the world's earliest convenience), gather Stats about one reduction (and all of its children) and return the Stats as an ext val, whose various fields can be queried, as well as printed to stderr.

tjjfvi commented 18 hours ago

Would also be cool to write some code to estimate the time complexity, based on counting the number of interactions for a number of different input sizes. This could be feasible since the interaction count is deterministic.