Re: shuffling elements of a list
- From: David C. Ullrich <ullrich@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 07:01:05 -0500
On Wed, 31 May 2006 12:17:11 +0200, Sybren Stuvel
<sybrenUSE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
David C Ullrich enlightened us with:
I thought that the fact that you could use the same trick for
_shuffling_ a list was my idea, gonna make me rich and famous. I
guess I'm not the only one who thought of it. Anyway, you can use
DSU to _shuffle_ a list by decorating the list with random numbers.
This is often done in database queries that need to randomize the data
;-)
Huh. Gotta find a good patent attorney<g>.
Sybren
************************
David C. Ullrich
.
- References:
- shuffling elements of a list
- From: greenflame
- Re: shuffling elements of a list
- From: Ben Finney
- Re: shuffling elements of a list
- From: greenflame
- Re: shuffling elements of a list
- From: David C . Ullrich
- Re: shuffling elements of a list
- From: Sybren Stuvel
- shuffling elements of a list
- Prev by Date: Re: Best Python Editor
- Next by Date: Re: [OT] whitespace (was Re: stupid perl question)
- Previous by thread: Re: shuffling elements of a list
- Next by thread: Re: shuffling elements of a list
- Index(es):
Relevant Pages
|