implement PLN-0033 vm string sharing hot path

This commit is contained in:
2026-04-20 08:45:34 +01:00
parent 8c5957a0a9
commit 09821cf9cc
10 changed files with 359 additions and 17 deletions
@@ -22,6 +22,6 @@ impl<'a> HostReturn<'a> {
self.stack.push(Value::HeapRef(HeapRef(g as u32)));
}
pub fn push_string(&mut self, s: String) {
self.stack.push(Value::String(s));
self.stack.push(Value::String(s.into()));
}
}