Commit logs

Geek’s humor comes in several flavors, “[http://whatthecommit.com/|what the commit]” is a tasty one. I wonder how funny it is looking at my commit log… say yesterday:


 9:42 - 127 bytes saved
 11:07 - 140 bytes saved
 11:20 - 882 bytes saved (got rid of Xyz state machine)
 11:25 - 22 bytes saved (got rid of Wuz - unused code, just program memory waster)
 11:41 - 431 bytes saved (got rid entirely of Xyz)
 14:00 - prevented race condition on frame receive.
 14:13 - ISO/ANSI insulting warning removed with the following comment
     // The cast below is not needed in ANSI C and should be considered a
     // bad coding practice. BUT we are stuck with MCC18 compiler that is
     // NOT ANSI compliant.
 14:46 - 18 bytes saved by splitting fn() into newFn() and retryFn()
 15:55 - 54 bytes saved by removing a couple of arguments from a function.
 16:20 - 54 bytes saved by replacing function fu().
 

With less than 10k free in the program memory, yesterday it was again Spring Cleaning Day… but long are gone the days of easy gains, now we are sorting of scraping the bottom of the barrel. Here’s some math for you.. if a contractor is paid 400€/day and the difference between a @!* PIC18 and any other micro is less than half a dollar, how many units of your device you need to sell to justify the contractor work?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.