Tekstiviesti: Optimization in Code Generation to Reduce Energy Consumption