For Programmers: Free Programming Magazines  


Home > Archive > Cobol > September 2007 > Re: COBOL "non-myth" confirmed - Index and subscripts (MF on Windows)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: COBOL "non-myth" confirmed - Index and subscripts (MF on Windows)
Richard

2007-09-16, 3:55 am

On Sep 16, 11:05 am, Robert <n...@e.mail> wrote:
> On Sat, 15 Sep 2007 13:09:52 -0700, Richard <rip...@Azonic.co.nz> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> They're the same speed, as I said. Half of one percent is trivial.


Index _IS_ faster. There is no reason to not use index.


>
> You're ignoring your own evidence.


In what way ? There is no reason to not use index, there is no reason
to not use subscript if one uses that, as long as the compiler
supports native integer and optimizes so as not to recompute the
offset.

Which is faster may well depend on the machine, the compiler, and what
is done in the code.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com