GARTHWILSON wrote:
On the automated test equipment I did at my last place of work around 30 years ago, I got a much bigger percentage; but I had a lot of longish names like PAUSE_TEST# which was a two-byte variable. I can see a few factors affecting the percentage.
Working on an 8-bit, 16-bit, 32-bit or 64-bit system would have various percentages saved. An 8-bit system with 32-bit support creates a lot of overhead in the main part of the Forth system, which is probably why my percentage is so low. A 16-bit system would probably show a higher percentage of space saved due to a much smaller footprint for the Forth system due to better 16-bit mnemonics.
I suppose in all actuality, one should really only take in account new words added to the Forth system since the words are more likely to be definitions rather than primitives. Which would make the percentage-saved closer among all systems.