Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN Date: Fri, 27 Sep 2024 23:43:29 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> <36KdnVlGJu9VLW77nZ2dnZfqn_qdnZ2d@earthlink.com> <971448126.749088380.092448.peter_flass-yahoo.com@news.eternal-september.org> <59CJO.19674$MoU3.15170@fx36.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 28 Sep 2024 01:43:30 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2132f4845d2292b1a04f05d8b30f9975"; logging-data="964424"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xr5KzPZYMmf0mWwMnIEP/" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:TjHRQ6xgvhOI9dQzJBRa1JGHAP4= Bytes: 1728 On Fri, 27 Sep 2024 20:38:38 GMT, Charlie Gibbs wrote: > I was once called in to optimize a CPU-bound COBOL program. > The genius who wrote it declared all subscripts as COMP-3. > Changing them to COMP-4 knocked 30% off the execution time. Did you just change DEFINE TYPE COMP AS COMP-3 to DEFINE TYPE COMP as COMP-4 and that would take effect everywhere that COMP was used? Oh, wait, COBOL didn’t have typedefs ...