compiler optimization examples