mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-13 07:08:43 +01:00
Functions store a reference to the module where they were defined and load "module" variables from there. Right now there's only one "main" module, but this is a step in the right direction. Perf is down, though. :( binary_trees - wren .......... 3026 0.33s 88.28% relative to baseline delta_blue - wren .......... 7248 0.14s 94.32% relative to baseline fib - wren .......... 2414 0.41s 88.08% relative to baseline for - wren .......... 6753 0.15s 78.79% relative to baseline method_call - wren .......... 6624 0.15s 100.03% relative to baseline