commit before code optimizations