Algorithm-HyperLogLog
view release on metacpan or search on metacpan
# =========================================================================
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
# DO NOT EDIT DIRECTLY.
# =========================================================================
use 5.008_001;
use strict;
use warnings;
use utf8;
BEGIN { push @INC, '.' }
use builder::MyBuilder;
use File::Basename;
use File::Spec;
my %args = (
license => 'perl_5',
dynamic_config => 0,
eg/sample.pl view on Meta::CPAN
use strict;
use warnings;
use utf8;
use Algorithm::HyperLogLog;
my $hll = Algorithm::HyperLogLog->new(10);
while(<>){
next if !defined $_;
$hll->add($_);
}
lib/Algorithm/HyperLogLog.pm view on Meta::CPAN
sub XS {
!$PERL_ONLY;
}
1;
__END__
=pod
=encoding utf8
=head1 NAME
Algorithm::HyperLogLog - Implementation of the HyperLogLog cardinality estimation algorithm
=head1 SYNOPSIS
use Algorithm::HyperLogLog;
my $hll = Algorithm::HyperLogLog->new(14);
( run in 0.539 second using v1.01-cache-2.11-cpan-49f99fa48dc )