… | |
… | |
82 | |
82 | |
83 | =item $hash = Digest::FNV::XS::reduce_32 $hash, $range |
83 | =item $hash = Digest::FNV::XS::reduce_32 $hash, $range |
84 | |
84 | |
85 | =item $hash = Digest::FNV::XS::reduce_64 $hash, $range |
85 | =item $hash = Digest::FNV::XS::reduce_64 $hash, $range |
86 | |
86 | |
87 | These two functions can be used to reduce a 32 (64) but FNV hash to |
87 | These two functions can be used to reduce a 32 (64) bit FNV hash to |
88 | an integer in the range 0 .. C<$range>, using the retry method, which |
88 | an integer in the range 0 .. C<$range>, using the retry method, which |
89 | distributes any bias more evenly. |
89 | distributes any bias more evenly. |
90 | |
90 | |
91 | =back |
91 | =back |
92 | |
92 | |