Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86994
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.292 |
| X-Spam-Level | ** |
| X-Spam-Evidence | '*H*': 0.56; '*S*': 0.14; 'arrays': 0.09; 'subject:generation': 0.16; 'elements': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'thu,': 0.19; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'could': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'list': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'more': 0.64; 'mar': 0.68; '100': 0.79; 'age': 0.80; '11:44': 0.84; '2015': 0.84; 'hundred': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CD6DTI/bUWRaJBXvlnbZ2tH1kWBaHIjtC7RbDz7kyJo=; b=RQl74z01Pukd5dCgUHmStD2Kc/+gJQkj18JilGcHsN7nbgiMlx0ovbrumpEI/MOGyG 9ncLms3aaKHeJFSqTnhYkCg1IrpFpv71L9MUy0a2byDzSdoj0KrRlTRJ26TJLMRXqGKB lABLPc9z/OWyU+ObwocwfN5f95RGcM0DTNwVHci5/lmIoLessWDUY6IWRvHOb8AFNIBQ atuBbudbhwnQdGs+FDlmDxmaTsaf6r9jpUC8UqvEDtAJdsIma9fnbDlPPTqyU/V+kD+H cnDvX+Rwi2/vC4RxUd2jcetvRwOnTP1Wa9w9M6gGsFh83cipboZS2QRjamjY7xXL+nQ/ Xswg== |
| X-Received | by 10.68.57.138 with SMTP id i10mr23206496pbq.17.1425625847217; Thu, 05 Mar 2015 23:10:47 -0800 (PST) |
| MIME-Version | 1.0 |
| In-Reply-To | <CADgpKWb=q2=YEJSS1yRkgzF37nO5BNRnywm+zhcwF-MAOr6MdA@mail.gmail.com> |
| References | <CADgpKWb=q2=YEJSS1yRkgzF37nO5BNRnywm+zhcwF-MAOr6MdA@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Fri, 6 Mar 2015 00:10:06 -0700 |
| Subject | Re: Speeding up permutations generation |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-Mailman-Approved-At | Fri, 06 Mar 2015 09:12:13 +0100 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.19 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.93.1425629533.21433.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1425629533 news.xs4all.nl 2972 [2001:888:2000:d::a6]:43631 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86994 |
Show key headers only | View raw
On Thu, Mar 5, 2015 at 11:44 PM, Abhiram R <abhi.darkness@gmail.com> wrote: > Hi all, > Is there a way to generate permutations of large arrays of sizes say,in the > hundreds, faster than in the time itertools.permutations() can return? A list of 100 elements has approximately 9.33 x 10**157 permutations. If you could somehow generate one permutation every yoctosecond, exhausting them would still take more than a hundred orders of magnitude longer than the age of the universe.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Speeding up permutations generation Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-06 00:10 -0700
csiph-web