very minor optimizations

This commit is contained in:
Mark Thom
2022-04-17 20:10:13 -06:00
parent 66075bf45b
commit 9d5264c5a3
3 changed files with 7 additions and 6 deletions

View File

@@ -707,7 +707,7 @@ impl MachineState {
indices: &IndexStore,
stub_gen: impl Fn() -> FunctorStub,
) -> CallResult {
let nx = self.registers[2];
let nx = self.store(self.deref(self.registers[2]));
if let Some(c) = string.chars().last() {
if layout_char!(c) {