mattwparas / steel

An embedded scheme interpreter in Rust
Apache License 2.0
1.07k stars 50 forks source link

[WIP] Root the instructions to avoid refcount clones #240

Open mattwparas opened 2 months ago

mattwparas commented 2 months ago

The movement of instructions around in the VM incurs some refcount clones, swapping this out alongside some other optimizations seems to yield about an 8% speed up.

There is some unsafety which needs some more auditing, and as of now is optional.