Lulu runtime costs

Here, I laid most lulu concepts, each with their costs.

Lulu Core Components

NameMemory Cost (MB)Performance CostRuns On
Compiler~2.5HighCompile time only
Runtime VM~2.4HighAlways
Package Manager~1.0LowWhen called
Bundler~0.2LowWhen called

Modules

NameMemory Cost (MB)Performance CostAvailability
std~1.0LowAlways available
net~4.0MediumImported
sys~2.0MediumImported
serde~1.0LowImported
threads~0.4LowImported
clap~0.5LowImported
kvdb~2.0MediumImported
archives~2.0LowImported
tui~2.0MediumImported

Compile time/Runtime Concepts

NameCompilation CostRuntime Cost
Macros (most)HighNone
cfg! macroMediumNone
import! macroLowLow
ClassesHighMedium
EnumsHighLow
Class ShorthandsExtremeMedium
Enum ShorthandsExtremeMedium
=> ShorthandsHighMedium
DecoratorsHighHigh
TraitsMediumHigh
+=, -=, ...LowNone
in local ...HighHigh
in do/if ...HighHigh
match! macroHighHigh
f"" formatterLowNone
ptr shorthandsLowNone