reduce arduino code size

Can anyone vouch for this under os x,

Yes, works on Mac OS X. It's AVR code, not host OS code, so it's platform independent.

Maybe you could explain the modification a little?

There used to be a different API for accessing the serial port. That code was left for backwards compatibility purposes. If you don't need that backwards compatibility you can remove that code and save the space.

-j