non port: sysutils/frand/distinfo |
Number of commits found: 1 |
Sunday, 18 Aug 2019
|
10:34 rodrigo
Add new port sysutils/frand
frand is a command line tool who returns
a random file from a given directory using
the reservoir sampling algorithm.
With reservoir sampling algorithm, directory
contents doesn't need to be read in memory
then sorted and so will perform much better
than find+sort for directories with a large
amount of files.
PR: 239467
Submitted by: serpent7776@gmail.com
|
Number of commits found: 1 |