Edit compiler optimization