----- Original Message -----
From: "allan winston" <[email protected]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Saturday, March 26, 2022 1:26 PM
Subject: Re: PL/I question
From 1970 to 1972, I was in a shop that made the transition from PL/I F to
the PL/I optimizing compiler. I would frequently use the LIST compiler
option to look at the machine code generated and found that the PL/I F
compiler generated quite poor code, frequently having to make a library
call just to implement the SUBSTR function.
By 1968, the SUBSTR function was implemented as
in-line code in PL/I(F).
If, however, STRINGRANGE was specfied, in-line code was not generated.
In general, to avoid using subroutine calls, it was necessary to specify
a minimum optinisation level of 1, in which case in-line code was generated.
By contrast, the PL/I
optimizing compiler generated very good machine code.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN