From: Asa Martin <[email protected]>
   Date: Fri, 4 Feb 2011 17:04:35 -0500

   . . .

   I was told that "predeclaring" the variables outside the loop saved
   on memory allocation,

IIUC, all of those scratchpad variables are created on sub entry.  The
performance difference of "predeclaring" is therefore zero.

   and that using @rules instead of four named variables was also more
   efficient.

In time or space?  Time may depend on how many times you access them.
But names are always more meaningful than hardwired subscript indices.

                                        -- Bob Rogers
                                           http://www.rgrjr.com/

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to