moirai-lang / moirai-kt

A scripting language that calculates the worst-case execution time (WCET) before executing each script. Ideal for multi-tenant microservices, serverless functions, and computed columns in databases.
MIT License
26 stars 1 forks source link

Sort all children of all Mul, Max, Sum cost expressions #60

Closed sithys closed 6 months ago

sithys commented 6 months ago

Fix a bug where expected and actual cost expressions were not being compared properly. Blanket convert all child arguments of all complex cost expressions to canonical form.