Testing Counterfeit Monkey on Iphone?

I’ve added a testing extension to the repo, which (by manually listing every rule) saves before each rule.

The results:

  • By the time of the Flexible Windows sort the Table of User Styles rule the save file is already at 17KB. Presumably most of this comes from INITIALISE_MEMORY_R() (which I’m guessing also needs to run before it will save files for some reason) through its creation of the heap etc. I doubt we can do anything to cut this.
  • The alternative position player in model world rule adds 7KB
  • The new declare everything initially unmentioned rule adds 6KB
  • The move all quips to the quip-repository rule adds 3KB
  • The initialize route-finding rule adds 31KB
  • The initialize drawers rule adds 8KB
  • The setting proffered rule adds 6KB
  • The initialize hash codes rule adds 12KB

Some of these things could presumably be relatively easily changed.

  • Instead of running the new declare everything initially unmentioned rule can we just make that a default property?
  • Testing code could output instructions which set the startup location of all quips to be in the quip-repository (in the same way that Conversation Builder does). And eventually we could even automatically run and regenerate that code as part of the testing framework.
  • The initial hash codes could also be set in the same way