+Random Terrain Posted September 29, 2005 Share Posted September 29, 2005 I noticed that you can squeeze out a few extra bytes here and there by putting things on the same line, but that only works for some things. Is there a way to tell what things should be put on the same line and what doesn't help at all (or do you just have to try and find out every time)? My bloated code left me with around 300 bytes free, but now I have 703 after crunching the code the best I know how. I should be able to post the rough draft of my maze-like 'game' today but it would be nice to have it crunched as much as possible first. Quote Link to comment Share on other sites More sharing options...
+batari Posted September 29, 2005 Share Posted September 29, 2005 I noticed that you can squeeze out a few extra bytes here and there by putting things on the same line, but that only works for some things. Is there a way to tell what things should be put on the same line and what doesn't help at all (or do you just have to try and find out every time)? My bloated code left me with around 300 bytes free, but now I have 703 after crunching the code the best I know how. I should be able to post the rough draft of my maze-like 'game' today but it would be nice to have it crunched as much as possible first. 939798[/snapback] I can think of three ways that the generated code may be smaller after packing stuff on a single line, but all of which are technical and not really predictable at the Basic source level. So trial and error is the only way right now. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted September 29, 2005 Author Share Posted September 29, 2005 I can think of three ways that the generated code may be smaller after packing stuff on a single line, but all of which are technical and not really predictable at the Basic source level. So trial and error is the only way right now. 939803[/snapback] Thanks. Unless I skipped something, I think I tried every line that could be combined. Now I'm seeing if there is any more bloated code that I can crunch, but I am running out of ideas on how. Maybe people who are better at programming can help me crunch it more after I post it later today. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.