From: Stefan v. d. W. <st...@su...> - 2006-11-13 21:50:38
|
On Mon, Nov 13, 2006 at 02:29:11PM -0700, Tim Hochberg wrote: > Erin Sheldon wrote: > > On 11/13/06, Tim Hochberg <tim...@ie...> wrote: > > =20 > >> Here's one more approach that's marginally faster than the map based > >> solution and also won't chew up an extra memory since it's based on = from > >> iter: > >> > >> numpy.fromiter(itertools.imap(tuple, results), dtype=3Dmydescriptor, > >> count=3Dlen(results)) > >> =20 > > > > Yes, this is what I need. BTW, there is no doc string for this.=20 > Yeah, I noticed that too. I swear I wrote one at one point I'm not sure= =20 > what happened to it. Sigh. A typo slipped into add_newdocs.py. Fixed in SVN. Cheers St=E9fan |