DavidKinder / Inform6

The latest version of the Inform 6 compiler, used for generating interactive fiction games.
http://inform-fiction.org/
Other
199 stars 32 forks source link

Weight space as one byte, not four, when applying abbreviations #265

Closed erkyrath closed 5 months ago

erkyrath commented 5 months ago

Fixes https://github.com/DavidKinder/Inform6/issues/264 .

This modestly improves the efficiency of economy (-e) mode for Z-code. (It has no effect on the abbreviation generator, -u.)

For Advent.inf with 64 abbreviations, this shaves 252 bytes off the game file.

For a minimal I7 6G60 game with 64 abbreviations, in .z8, this shaves 112 bytes off the game file.