Re: Book on low level program optimization



When is it harmful to make too many subroutine calls? (c++ allows me
to make "inline functions", but fortran does not. Does that make a
difference?)

If this means what I think it means (i.e.replace all FUNCTION calls by
inline code), then this feature has been in FORTRAN for at least forty
years; it is known as statement functions.

Many FORTRAN intrinsics generate inline code (e.g.SIGN)

.



Relevant Pages

  • Re: F200x (was Re: When to expect a F2003 compiler?)
    ... Most of the features of Fortran 90 ... to what extent to committee members qualify as people? ... >> feature to provide a really useful capability. ...
    (comp.lang.fortran)
  • Re: Fortran Error Reporting Requirements (Was: GFORTRAN PROBLEM WITH SAVE STATEMENT)
    ... was originally intended to be part of Fortran 95. ... exceptions, including integer-related exceptions. ... that ENABLE blocks would greatly slow down execution speeds on some processors. ... I liked the ENABLE block feature and I would have liked to have seen it ...
    (comp.lang.fortran)
  • Re: defining an arbitrary type in your newer Fortrans
    ... there is a little bit of compiler intelligence. ... I don't see anything directly comparable in Fortran. ... A typealias feature like this was proposed for f2003. ... But the feature just doesn't come close to achieving that. ...
    (comp.lang.fortran)
  • Re: Namelist correctness question
    ... > I also don't see this feature in VS Fortran, ... it was an undocumented feature of IBM fortran. ... (reading partial arrays) ...
    (comp.lang.fortran)
  • Re: C or Fortran
    ... Fortran 95 is almost entirely backwards compatible with earlier ... My meaning was that each time a new feature is added, ... strictly following F77 standards. ... That is even more true of a very high-level language like Matlab. ...
    (comp.soft-sys.matlab)