From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c329247dd63d7778 X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: 1 and 2d image representations Date: 1997/11/01 Message-ID: #1/1 X-Deja-AN: 286478651 References: <344E97A8.688C@eleceng.adelaide.edu.au> <34556F0F.62B5@dynamite.com.au> Organization: Estormza Software Newsgroups: comp.lang.ada Date: 1997-11-01T00:00:00+00:00 List-Id: In article <34556F0F.62B5@dynamite.com.au>, aebrain@dynamite.com.au wrote: >If performance is a big issue, then Unchecked Conversion really could be >the way to go. In practice, you can reduce the overhead to zero by making careful use of attributes when iterating over an array, for example for Index in O'Range loop ... O (Index) ... end loop; There is no range check here, because Index is in the index subtype of O, and therefore no check is necessary. -------------------------------------------------------------------- Matthew Heaney Software Development Consultant (818) 985-1271