o index an object with the same index you just indexed it with (keep a small cache for indexing, have assembler code for checking the case, then a 'slow' fallback version)
I made an attempt at this a while ago but gave up when I noticed that refcounting rules for objects and functions are really messy and practically impossible to shortcut in the current model.