Should I refactor my C code to optimise it for an embedded microcontroller?
The classic three rules of optimization:


don't.
don't yet.
profile before optimizing.


It doesn't hurt to write clean tidy code in the first place but premature optimization is a waste of time and effort that could more fruitfully be spent elsewhere.