[Swift-user] Performance of Swift

J A jamalphd at gmail.com
Tue Jun 10 08:10:43 CDT 2008


Thanks ...

On 6/7/08, Ben Clifford <benc at hawaga.org.uk> wrote:
>
>
> > > Do you think changing the whole program into Swift script is necessary
> or
> > > just certain sections?  Can i just use wrappers around certain tasks
> and use
> > > Swift Script to call these tasks?
>
> Almost definitely do not convert that whole program into SwiftScript -
> Swift is not intended to efficiently execute "short" operations like
> string operations. It would deal better with plugging together larger
> pieces of your application (eg pieces that take minutes to run), with
> those implemented in (in your case) perhaps C.
>
> To get decent benefit, though, I think you will need to figure out which
> pieces can run in parallel - breaking your app into eg 4 pieces and then
> only running them in sequence won't give much/any performance improvement.
>
> You program looks almost, but not quite, like a genetic algorithm
> implementation; and there is a lot on the web about parallelising those.
>
>
>
> --
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20080610/6d03feee/attachment.html>


More information about the Swift-user mailing list