Tuesday, October 22, 2002

More Mach-O and GCC Slowness

“Feanor” adds a comment to Slava’s Mach-O ABI post:

Case in point: the _msgSend routine of ObjC is in /usr/lib/libobjc so every message sent in any piece of ObjC code has that 11 cycle penalty tacked onto the beginning, and then it gets the 9 cycle PIC penalty once you actually get there... every object function (method) call in ObjC goes through that.

[…]

iTunes recompiled by GCC/MachO was 30% slower at MP3 decompression than with CodeWarrior/PEF. Lame MP3 Encoder was 50% faster with CodeWarrior PEF than with GCC/MachO, both on OS X. (both are Carbon apps)

Comments RSS · Twitter

Leave a Comment