Open HampusMat opened 1 year ago
Support for stack allocation of Injectables could probably be implemented.
Injectable
Stack allocation is to be possible if the interface is a concrete type.
This will require
get
resolve
Support for stack allocation of
Injectable
s could probably be implemented.Stack allocation is to be possible if the interface is a concrete type.
This will require
get
to be able to return either a heap allocated value (like Box) or a stack allocated value.resolve
method ofInjectable
s to figure out whether dependencies should be used as heap or stack values