line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Set::IntSpan::Fast; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
226047
|
use warnings; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
234
|
|
4
|
7
|
|
|
7
|
|
39
|
use strict; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
227
|
|
5
|
7
|
|
|
7
|
|
38
|
use Carp; |
|
7
|
|
|
|
|
18
|
|
|
7
|
|
|
|
|
712
|
|
6
|
7
|
|
|
7
|
|
7506
|
use Data::Types qw(is_int); |
|
7
|
|
|
|
|
11668
|
|
|
7
|
|
|
|
|
555
|
|
7
|
7
|
|
|
7
|
|
54
|
use List::Util qw(min max); |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
1685
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Set::IntSpan::Fast - Fast handling of sets containing integer spans. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 VERSION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This document describes Set::IntSpan::Fast version 1.15 |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
BEGIN { |
20
|
7
|
|
|
7
|
|
18
|
our $VERSION = '1.15'; |
21
|
7
|
|
|
|
|
15
|
our @ISA; |
22
|
7
|
|
|
7
|
|
505
|
eval "use Set::IntSpan::Fast::XS ()"; |
|
7
|
|
|
|
|
8569
|
|
|
7
|
|
|
|
|
11531
|
|
|
7
|
|
|
|
|
89
|
|
23
|
7
|
50
|
|
|
|
38
|
if ( $@ ) { |
24
|
0
|
0
|
|
|
|
0
|
if ( $@ =~ /^Can't\s+locate/ ) { |
25
|
0
|
|
|
|
|
0
|
eval "use Set::IntSpan::Fast::PP ()"; |
26
|
0
|
0
|
|
|
|
0
|
die $@ if $@; |
27
|
0
|
|
|
|
|
0
|
@ISA = qw( Set::IntSpan::Fast::PP ); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
else { |
30
|
0
|
|
|
|
|
0
|
die $@; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
else { |
34
|
7
|
|
|
|
|
366
|
@ISA = qw( Set::IntSpan::Fast::XS ); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
__END__ |