Re: Date manipulation

From: Howard Brazee (howard_at_brazee.net)
Date: 12/29/03

  • Next message: Judson McClendon: "Re: CoBOL moved to OO"
    Date: Mon, 29 Dec 2003 19:20:00 GMT
    
    

    On 29-Dec-2003, "Judson McClendon" <judmc@sunvaley0.com> wrote:

    > > Six invokes for a command used once in a program is nothing. Decisions
    > > such as
    > > this should be made solely on maintenance efficiency, not run-time
    > > efficiency.
    >
    > If that code is in a transaction routine that is called 1000 times a second,
    > the overhead isn't 'nothing'. And what about turning over midnight after
    > the first call and before the last call? Remember Murphy's Law. :-)

    But you will notice that the code said:
      DISPLAY 'SIPR702 BEGAN ' FUNCTION CURRENT-DATE (5:2)
                           '/' FUNCTION CURRENT-DATE (7:2)
                           '/' FUNCTION CURRENT-DATE (1:4)
                           ' ' FUNCTION CURRENT-DATE (09:2) hour
                           ':' FUNCTION CURRENT-DATE (11:2)
                           ':' FUNCTION CURRENT-DATE (13:2).

    Saying when a program starts doesn't happen 1000 times a second.

    I was under the impression that this gets converted into one call though.


  • Next message: Judson McClendon: "Re: CoBOL moved to OO"

    Relevant Pages

    • Re: R.I.P. Firewire! 8/18/2008
      ... FW3200 may very well have a slightly better real world I/O bandwidth ... USB efficiency is ~80%...which means that 20% is consumed in overhead. ... = 3.1 Gbps ...
      (comp.sys.mac.advocacy)
    • Re: object creation and pointer confusion
      ... >> Andre' ... > the overhead involved in copying the objects into the vector. ... And efficiency normally ...
      (alt.comp.lang.learn.c-cpp)
    • Re: using call versus copy / include
      ... Any difference in efficiency can be important if the code is performed a million ... If it is used one time, then who cares about the overhead involved in ... It is in between where judgment calls need to be made. ...
      (comp.lang.cobol)