Re: performance Q: integer times floating

From: David Jones (dajxxx_at_ceh.ac.uk)
Date: 12/12/03


Date: Fri, 12 Dec 2003 10:15:04 -0000

Ryo Furue wrote:
>
> (5) ... anything else...?
>
  You may find it more convenient on input to just read in those
elements for which the switch condition applies, particularly if
relatively few. Thus you would have an number of switches and a list
of indices for which the switch applies. In this case can could just
loop over this (short) list to do the switch. This would be
particularly good if you don't actually need to keep a copy of the
original array.

David Jones