Re: Ultimate efficiency using INITIALIZE statement in COBOL
- From: "HeyBub" <heybubNOSPAM@xxxxxxxxx>
- Date: Mon, 6 Aug 2007 11:56:37 -0500
Pete Dashwood wrote:
The OS can't move stuff around any faster than COBOL (or any other
language) does...
Whether the OS can or cannot is probably immaterial. I just did a little
test by timing a loop of a 2500-byte move. Admittedly, it was on my piddly
PC, but 100,000,000 iterations of "MOVE A TO B" took, wait for it now.... 29
seconds. (The PERFORM loop itself took 0.39 seconds).
That's 0.00000029 seconds per move, or, for the 55,000 transactions
mentioned, about 16 milliseconds.
The OP, by investing several days of research, coding, and testing can
expect a savings of, oh, 14 milliseconds per day. Max.
My original supposition: "Coding for micro efficiency is usually futile,"
still stands.
.
- Follow-Ups:
- Re: Ultimate efficiency using INITIALIZE statement in COBOL
- From: Pete Dashwood
- Re: Ultimate efficiency using INITIALIZE statement in COBOL
- From: Alistair
- Re: Ultimate efficiency using INITIALIZE statement in COBOL
- References:
- Ultimate efficiency using INITIALIZE statement in COBOL
- From: ctolhurs
- Re: Ultimate efficiency using INITIALIZE statement in COBOL
- From: HeyBub
- Re: Ultimate efficiency using INITIALIZE statement in COBOL
- From: Pete Dashwood
- Ultimate efficiency using INITIALIZE statement in COBOL
- Prev by Date: Re: ALTER design (Was: Code problems with Perform Thru Exit causes fall through)
- Next by Date: Re: ALTER design (Was: Code problems with Perform Thru Exit causes fall through)
- Previous by thread: Re: Ultimate efficiency using INITIALIZE statement in COBOL
- Next by thread: Re: Ultimate efficiency using INITIALIZE statement in COBOL
- Index(es):
Relevant Pages
|