LightAndLight / ipso

A functional scripting language.
https://ipso.dev
17 stars 1 forks source link

Lazy-loading builtin modules #244

Open LightAndLight opened 2 years ago

LightAndLight commented 2 years ago

All builtin modules ipso-builtins are loaded at startup, regardless of how many are used in the program being run. The cost of unused builtin modules will continue to grow as more builtins are added. I want to keep startup very fast, so it's worth profiling the effect of only loading used builtin modules.