Re: Pyrex list/array

2006-06-04 Thread Jim Lewis
> cunningly concealed in the last place one would think of finding it: under > the heading "Mailing List" on the Pyrex home page :-) Hmmm - maybe I should try the scroll bar occassionally ;-) > Do you mean alist[x:x+n] == alist[y:y+n] ? OK, probably you an Skip are right - let's see if I missed

Re: Pyrex list/array

2006-06-04 Thread John Machin
On 4/06/2006 7:59 PM, Jim Lewis wrote: > Thanks for your comments. > >> You probably didn't expect the Inquisition... > > Correct ;-) Nobody does :-) > >> The question might be better asked on the Pyrex mailing list. > > I did not find it - where is it? Evidently somewhere near the Hall of t

Re: Pyrex list/array

2006-06-04 Thread skip
>> Is it substantially faster with psyco than without? If psyco is >> performing its magic on the critical section of code already, you are >> going to lose that when switching to Pyrex. Jim> Yes but from what I read Pyrex can be a lot faster than psyco under Jim> the right c

Re: Pyrex list/array

2006-06-04 Thread Jim Lewis
> Is it substantially faster with psyco than without? If psyco is performing > its magic on the critical section of code already, you are going to lose > that when switching to Pyrex. Yes but from what I read Pyrex can be a lot faster than psyco under the right circumstances. -- http://mail.pyt

Re: Pyrex list/array

2006-06-04 Thread skip
>> 5. Does your architecture support psyco? If so, have you tried that >>and what were the results? Jim> Already using psyco. Is it substantially faster with psyco than without? If psyco is performing its magic on the critical section of code already, you are going to lose that

Re: Pyrex list/array

2006-06-04 Thread Jim Lewis
Thanks for your comments. > You probably didn't expect the Inquisition... Correct ;-) > 1. What is your speed requirement and how far short of that are you at the > moment? ~10 times faster. > 2. Are you sure there is no Python or third-party module that does what you > want? Yes. > 3. Is

Re: Pyrex list/array

2006-06-03 Thread John Machin
On 4/06/2006 4:56 AM, Jim Lewis wrote: > I'm trying to move a function into pyrex for speed. You probably didn't expect the Inquisition; nobody does. But here it is, nice red uniforms and all: 1. What is your speed requirement and how far short of that are you at the moment? 2. Are you sure the

Pyrex list/array

2006-06-03 Thread Jim Lewis
I'm trying to move a function into pyrex for speed. The python side needs to pass a list to the pyrex function. Do I need to convert to array or something so pyrex can generate tight code? I'm not clear how to do this. -- http://mail.python.org/mailman/listinfo/python-list