FreeBSD.software

frand

0.1_13

Selects a random file using reservoir sampling algorithm

Selects a random file from given directory using reservoir sampling algorithm. This means directory contents doesn't need to be read in memory and then sorted and so will perform much better than find+sort for big directories.

Origin: sysutils/frand
Category: sysutils
Size: 23.6KiB
License: BSD2CLAUSE
Maintainer: serpent7776@gmail.com
Dependencies: 1 packages
Required by: 0 packages
$pkg install frand

Dependencies (1)

More in sysutils