Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100024
| Path | csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx24.iad.POSTED!not-for-mail |
|---|---|
| Subject | Re: counting unique numpy subarrays |
| Newsgroups | comp.lang.python |
| References | <Q1m8y.334924$rR1.113623@fx19.iad> <mailman.208.1449268679.14615.python-list@python.org> |
| From | duncan smith <duncan@invalid.invalid> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
| MIME-Version | 1.0 |
| In-Reply-To | <mailman.208.1449268679.14615.python-list@python.org> |
| Content-Type | text/plain; charset=windows-1256 |
| Content-Transfer-Encoding | 7bit |
| Lines | 17 |
| Message-ID | <e%p8y.287627$dc2.166641@fx24.iad> (permalink) |
| X-Complaints-To | abuse@blocknews.net |
| NNTP-Posting-Date | Sat, 05 Dec 2015 00:14:02 UTC |
| Organization | blocknews - www.blocknews.net |
| Date | Sat, 5 Dec 2015 00:13:53 +0000 |
| X-Received-Bytes | 1197 |
| X-Received-Body-CRC | 3997799491 |
| Xref | csiph.com comp.lang.python:100024 |
Show key headers only | View raw
On 04/12/15 22:36, Albert-Jan Roskam wrote: > Hi > > (Sorry for topposting) > > numpy.ravel is faster than numpy.flatten (no copy) > numpy.empty is faster than numpy.zeros > numpy.fromiter might be useful to avoid the loop (just a hunch) > > Albert-Jan > Thanks, I'd forgotten the difference between numpy. flatten and numpy.ravel. I wasn't even aware of numpy.empty. Duncan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
counting unique numpy subarrays duncan smith <duncan@invalid.invalid> - 2015-12-04 19:43 +0000
RE: counting unique numpy subarrays Albert-Jan Roskam <sjeik_appie@hotmail.com> - 2015-12-04 22:36 +0000
Re: counting unique numpy subarrays duncan smith <duncan@invalid.invalid> - 2015-12-05 00:13 +0000
Re: counting unique numpy subarrays Peter Otten <__peter__@web.de> - 2015-12-05 00:06 +0100
Re: counting unique numpy subarrays duncan smith <duncan@invalid.invalid> - 2015-12-05 00:18 +0000
csiph-web