Re: [Numpy-discussion] Sorting refactor

2015-01-16 Thread Lars Buitinck
2015-01-16 15:14 GMT+01:00 : > Date: Fri, 16 Jan 2015 06:11:29 -0800 > From: Jaime Fern?ndez del R?o > Subject: Re: [Numpy-discussion] Sorting refactor > To: Discussion of Numerical Python > > Most of my proposed original changes do not affect the core sorting > functionality, just the infrastru

Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 100, Issue 28

2015-01-16 Thread Lars Buitinck
s-1252 > > On 16.01.2015 12:33, Lars Buitinck wrote: >> * Quicksort has a quadratic time worst case. I think it should be >> turned into an introsort [1] for O(n log n) worst case; we have the >> heapsort needed to do that. > > This probably rarely happens in numeric dat

Re: [Numpy-discussion] Sorting refactor

2015-01-16 Thread Lars Buitinck
2015-01-16 11:55 GMT+01:00 : > Message: 2 > Date: Thu, 15 Jan 2015 21:24:00 -0800 > From: Jaime Fern?ndez del R?o > Subject: [Numpy-discussion] Sorting refactor > To: Discussion of Numerical Python > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > This changes will make it

Re: [Numpy-discussion] change default integer from int32 to int64 on win64?

2014-07-26 Thread Lars Buitinck
> Date: Fri, 25 Jul 2014 15:06:40 +0200 > From: Olivier Grisel > Subject: Re: [Numpy-discussion] change default integer from int32 to > int64 on win64? > To: Discussion of Numerical Python > Content-Type: text/plain; charset=UTF-8 > > The dtype returned by np.where looks right (int64):

Re: [Numpy-discussion] change default integer from int32 to int64 on win64?

2014-07-24 Thread Lars Buitinck
Wed, 23 Jul 2014 22:13:33 +0100 Nathaniel Smith : > On Wed, Jul 23, 2014 at 9:57 PM, Robert Kern wrote: >> That's perhaps what you want, but numpy has never claimed to do this. ... except in np.where, which promises to return indices but actually returns arrays of longs and thus doesn't work wit