aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Algorithm-Numerical-Shuffle
Commit message (Collapse)AuthorAgeFilesLines
* SHA256ifyEdwin Groothuis2006-01-221-0/+1
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154141
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryEdwin Groothuis2006-01-221-4/+4
| | | | | | | | Approved by: krion@ PR: ports/88711 (related) Notes: svn path=/head/; revision=154110
* SIZEify (maintainer timeout)Trevor Johnson2004-03-311-0/+1
| | | | Notes: svn path=/head/; revision=105747
* Add p5-Algorithm-Numerical-Shuffle 1.4, shuffle a list.Erwin Lansing2003-08-204-0/+45
Shuffle is a perl module which performs a one pass, fair shuffle on a list. If the list is passed as a reference to an array, the shuffle is done in situ. The running time of the algorithm is linear in the size of the list. For an in situ shuffle, the memory overhead is constant; otherwise, linear extra memory is used. The algorithm used is discussed by Knuth [3]. It was first published by Fisher and Yates [2], and later by Durstenfeld [1]. PR: 55574 Submitted by: andrew@scoop.co.nz Notes: svn path=/head/; revision=87333