[Swift-user] suggestion for program flow control
Mike Kubal
mikekubal at yahoo.com
Wed Jun 11 16:54:35 CDT 2008
--- On Wed, 6/11/08, Mihael Hategan <hategan at mcs.anl.gov> wrote:
> From: Mihael Hategan <hategan at mcs.anl.gov>
> Subject: Re: [Swift-user] suggestion for program flow control
> To: mikekubal at yahoo.com
> Cc: swift-user at ci.uchicago.edu
> Date: Wednesday, June 11, 2008, 2:16 PM
> On Wed, 2008-06-11 at 11:48 -0700, Mike Kubal wrote:
>
> > It wasn't a big deal to add the extra script, but
> it may be desirable for the swift program to not move to a
> function call outside of the loop until the loop is
> finished.
>
> One of the design issues with Swift was that it is also
> desirable for
> dependent loops to be pipelined. Which seems to be the
> opposite of what
> you want.
>
> Why is it that you don't want to pass a result file for
> each of the
> thousand processed files?
laziness,
and also I'm not sure what that should look like in the function definition?
Is there a way I can make the argument list for the function dynamic since the number of result files will vary based on the selected database to process?
I can definitely see the benefit of having separate pipelines for non-dependent parts within the same script, but perhaps there is a way to chain dependent functions that is not dependent on files produced by previous functions?
Like I said it wasn't a big deal to add the extra script to pause and count files, just different behavior than I expected from the loop code.
>
> >
> > Mike
> >
> >
> >
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> >
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
More information about the Swift-user
mailing list