[Numpy-discussion] Question about Optimization (Inline and Pyrex)

Lou Pecora lou_boog2000 at yahoo.com
Tue Apr 17 15:29:47 EDT 2007


Ii get what you are saying, but I'm not even at the
Stupidly Easy Parallel level, yet.  Eventually. 
Thanks.

--- Anne Archibald <peridot.faceted at gmail.com> wrote:

> On 17/04/07, Lou Pecora <lou_boog2000 at yahoo.com>
> wrote:
> > Now, I didn't know that.  That's cool because I
> have a
> > new dual core Intel Mac Pro.  I see I have some
> > learning to do with multithreading.  Thanks.
> 
> No problem. I had completely forgotten about the
> global interpreter
> lock, wrote a little multithreading tool that ran my
> code in three
> different threads, and got just about a 2x speedup
> on a dual-core
> machine. Then someone reminded me about the GIL and
> I was puzzled...
> your results will certainly depend on your code, but
> I found it useful
> to have a little parallel-for-loop idiom for all
> those cases where
> parallelism is stupidly easy.
> 
> Anne
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
>
http://projects.scipy.org/mailman/listinfo/numpy-discussion
> 


-- Lou Pecora,   my views are my own.
---------------
Great spirits have always encountered violent opposition from mediocre minds. 
-Albert Einstein

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the NumPy-Discussion mailing list