In <[EMAIL PROTECTED]>, on 07/19/2005
   at 08:21 AM, Paul Gilmartin <[EMAIL PROTECTED]> said:

>How do other readers feel about:

>SIZE     EQU   2     * SIZE of an array entry
>    ...
>         MH    Rx,=Y(SIZE)
>versus:
>         AR    Rx,Rx * Multiply by SIEZ of an array entry

>... for performance, readability, and maintainability?  (The typo is
>deliberate.)

They are equally readable. They are equally maintainable if and only
if the size cannot change. It's not good enough that you didn't expect
it to change. So, except for rare exceptions I'd go with the multiply,
even though it is slower.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to