Posted By
Mad on 2022-01-08 12:39:07
| Re: Help wanted optimizing text adventure code
Hi! I just looked briefly over the code some days ago. I just found some c files and some s files. I am not so into text adventures but some technique I used for a project of ours is to just use bitstreams instead of bytes. So if you know that for instance a switch only needs one bit you could encode it as one bit already. Or if you just have lower case letters in your texts you could encode them as 5 bit values. I know you already did your project so this suggestion is senseless for you, but I found it to be a great improvement in the amount of memory used in our case. (maybe you do that or other text optimizations already, too.) Good luck with your project.
|