In the course of working on Hadean Lands, I’ve done some profiling work. This game is supposed to wind up on mobile devices, after all. (iOS CPUs have sped up orders of magnitude since I started this project, but still…)
I7’s library (and the Standard Rules) have a few trouble spots – places where the library iterates through the entire object list, or the list of the “thing” class. Most of these occur in the “look” action. This is not a big deal in a medium-sized game, but my game contains 800 objects (420 things), so it turns into a noticeable slowdown.
I’ve extracted my performance improvements and posted them as an extension:
This will only work with the current Inform build, 6G60. Yes, there’s a big I7 update due in a week and a half, and I’ll have to update my extension for that. I’ll keep links to both versions up, actually, because some authors may not want to spend the effort to transition a large game over to the new Inform.