Long story short: I built in save and load functionalities, thus confirming that my "compression" is functional.
I also tested the memory savings of my "compression". They do not appear to have any effect whatsoever. There are several possible conclusions:
1) I screwed something up. This is the most likely.
2) C# is impressively efficient, and has almost no/no overhead for an instance of a class.
I'm largely working with what I'll call "bootstrap code"--early code used to get basic elements of a project working. Like most bootstrap code, it's a mess. I need to devote some time to cleaning things up. At some point. Not necessarily now.
I also tested the memory savings of my "compression". They do not appear to have any effect whatsoever. There are several possible conclusions:
1) I screwed something up. This is the most likely.
2) C# is impressively efficient, and has almost no/no overhead for an instance of a class.
I'm largely working with what I'll call "bootstrap code"--early code used to get basic elements of a project working. Like most bootstrap code, it's a mess. I need to devote some time to cleaning things up. At some point. Not necessarily now.