Hi Anne, I'm just starting to look into your code (sound very interesting - should probably be put onto the wiki) -- quick note: you are mixing tabs and spaces :-( what editor are you using !?
-Sebastian On 4/17/07, Anne Archibald <[EMAIL PROTECTED]> wrote: > On 17/04/07, Lou Pecora <[EMAIL PROTECTED]> wrote: > > I get what you are saying, but I'm not even at the > > Stupidly Easy Parallel level, yet. Eventually. > > Well, it's hardly wonderful, but I wrote a little package to make idioms like: > > d = {} > def work(f): > d[f] = sum(exp(2.j*pi*f*times)) > foreach(work,freqs,threads=3) > > work fine. > > Of course you need to make sure your threads don't accidentally > trample all over each other, but otherwise it's an easy way to get a > factor-of-two speedup. > > Anne > > _______________________________________________ > Numpy-discussion mailing list > Numpy-discussion@scipy.org > http://projects.scipy.org/mailman/listinfo/numpy-discussion > > > _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion