diff --git a/notes.md b/notes.md index f25eb13..9d662fd 100644 --- a/notes.md +++ b/notes.md @@ -58,6 +58,12 @@ remove a layer of indirection, too. It's a big change, but I'd need _something_ like this for adding a GC anyway, and sometimes big changes have paid off. +## Cache constants + +Result: Regressed from 3200 to 3600. Not sure why. + +Plan: OP_GETFIELD hits the constants a lot. I thought caching it and not dereferencing the chunk and block constantly might help. + ## Iterating over instruction list (upcoming)