Advantages of Arduino Uno over PIC18F4550

oric_dan(333):
I wonder - does the Arduino/avr compiler do optimizations?

Yes.

(Take a look at some disassembled output if you don't believe me...)