Name : perl-WordListRole-RandomSeekPick
| |
Version : 0.004
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 18:29:38
|
Group : Development/Libraries/Perl
| Source RPM : perl-WordListRole-RandomSeekPick-0.004-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Provide a pick() implementation that random-seeks DATA
|
Description :
The default WordList\'s \'pick()\' performs a scan on the whole word list once while collecting random items. This role provides an alternative implementation that random-seeks on DATA, discard the line fragment, then get the next line. This algorithm does not provide uniformly random picking, but for many cases it should be random enough. It is faster if you have a huge word list and just want to pick one or a few items.
Note: since this role\'s \'pick()\' operates on the DATA filehandle directly instead of using \'each_word()\', it cannot be used on dynamic wordlists.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/15.5/noarch |