Re: performance Q: integer times floating
From: David Jones (dajxxx_at_ceh.ac.uk)
Date: 12/12/03
- Next message: Dan Nagle: "Re: problem to compile a single program..."
- Previous message: Catherine Rees Lay: "Re: string function called by C challenge"
- In reply to: Ryo Furue: "Re: performance Q: integer times floating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Dan Nagle: "Re: problem to compile a single program..."
- Previous message: Catherine Rees Lay: "Re: string function called by C challenge"
- In reply to: Ryo Furue: "Re: performance Q: integer times floating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]