Bob Cozzi wrote:
> 
> What C (on the 400) is missing is an INLINE compiler feature, as is RPG IV.
> This would probably solve the subroutine vs subprocedure performance
> disparity.
> 

C has an inline feature.  See the INLINE parameter on the crt commands. 
You can get it to inline automatically with 
  INLINE(*YES *AUTO)
or you can explicitly say which functions you want inlined with
  INLINE(*YES *NOAUTO)
and then using #pragma inline to specify the functions you want inlined.

(It's true that RPG doesn't have an inline feature.)


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.