On Wed, Oct 22, 2008 at 10:27:53AM -0400, Herbert Graf wrote: > On Wed, 2008-10-22 at 07:21 -0400, Olin Lathrop wrote: > > There is the off chance that this is not done for the special case of a > > totally empty subroutine, but then again that hardly sounds like a case > > worth bothering to optimize for. > > I'd have to agree, and am now curious: What would be the point of trying > to optimize a call to a completely empty subroutine? Wouldn't it be > better to just get rid of the call completely? You might have a system with callbacks, and sometimes set the callback to a no-op. I agree that optimising an empty function probably isn't very important, though I don't see why you wouldn't want to optimise other very small functions. Chris -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist