Re: Permutation Generator



On Fri, Aug 12, 2005 at 03:48:38PM -0400, Michael J. Fromberger wrote:
> In article <mailman.3042.1123875574.10512.python-list@xxxxxxxxxx>,
> Talin <talin@xxxxxxx> wrote:
>
> > I'm sure I am not the first person to do this, but I wanted to share
> > this: a generator which returns all permutations of a list:
>
> You're right that you're not the first person to do this: Many others
> have also posted incorrect permutation generators.
>
Amen, combinatorics are so popular they should be in the FAQ.
groups.google.com can show you many pure python recipies and benchmarks,
but I'll give my ususal response:
http://probstat.sourceforge.net/

I'm not just the author, I'm a client-ly,
-jackdied
.



Relevant Pages

  • Re: pyvm -- faster python
    ... I've seen the benchmarks, they look quite interesting. ... long-lasting results/consequences for your work. ... Bearophile ... Prev by Date: ...
    (comp.lang.python)
  • Re: FastMM 4.24
    ... http://dennishomepage.gugs-cats.dk/FastCodeProject.htm for benchmarks (or ... the basm newsgroups). ... Oliver Townshend ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: Fastcode MM B&V 0.38
    ... This is the fix we applied to two other benchmarks. ... Dennis ... Prev by Date: ...
    (borland.public.delphi.language.basm)
  • Re: Open a CSV file
    ... The benchmarks of processing csv files using the microsoft drivers are ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: MMBV LinkedListBenchmark + RecyclerMM update
    ... > benchmarks should get their own category. ... Regards ... Dennis ... Prev by Date: ...
    (borland.public.delphi.language.basm)

Loading