Title says it all.
In essence, good programming habits one could (and should) have in order to make one’s program faster and more stable. Or possibly, what you this is good programming habits in general.
I know there are resources for this kind of thing, but perhaps hearing it from the members of the forum might give a different light on things.
I barely know about this kind of thing, so the only two things that pop in mind immediately are bit-shifting and taking conditions out of loops whenever possible. I guess using the same constant (100, 100 instead of 101, 102 ; that kind a thing) values might help as well.
Any suggestions ?