Deutsch   English   Français   Italiano  
<vdap03$1kp35$3@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: alt.folklore.computers,comp.os.linux.misc
Subject: Re: The joy of FORTRAN
Date: Sun, 29 Sep 2024 05:36:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <vdap03$1kp35$3@dont-email.me>
References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks>
	<5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com>
	<vcub5c$36h63$1@dont-email.me>
	<36KdnVlGJu9VLW77nZ2dnZfqn_qdnZ2d@earthlink.com>
	<971448126.749088380.092448.peter_flass-yahoo.com@news.eternal-september.org>
	<vd5195$edas$1@dont-email.me> <59CJO.19674$MoU3.15170@fx36.iad>
	<vd6vto$r0so$1@dont-email.me> <iJEJO.198176$kxD8.81657@fx11.iad>
	<vd7fv1$tdq8$12@dont-email.me> <CF4KO.179531$1m96.73864@fx15.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Sep 2024 07:36:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="22838b7286fd66ecaa0be3d192bfd789";
	logging-data="1729637"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18HMGHmiZfiXRG57I/Ws5xS"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:Xaf23WdHAXLCeiDC3HtA3XQIMN8=
Bytes: 2342

On Sun, 29 Sep 2024 04:26:10 GMT, Charlie Gibbs wrote:

> On 2024-09-27, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> 
>> 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 ...
> 
> I suppose I could have done the equivalent of s/COMP-3/COMP-4/ in the
> text editor of the day, but that would have also changed the fields that
> were not only legitimately COMP-3, but which could not have been held in
> a COMP-4 variable.
> 
> Sometimes you just gotta Do the Right Thing, no matter how long it
> takes.

Helps if you are charging by the hour. ;)