Closed davidpdrsn closed 7 months ago
Currently Value has a size of 32 bytes on the stack. Would be worth exploring if there are ways to make it smaller. Perhaps by keeping the larges variants in a separate type that is always boxed, something like Value::BigValue(Box<BigValue>).
Value
Value::BigValue(Box<BigValue>)
Currently
Value
has a size of 32 bytes on the stack. Would be worth exploring if there are ways to make it smaller. Perhaps by keeping the larges variants in a separate type that is always boxed, something likeValue::BigValue(Box<BigValue>)
.