line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package List::UtilsBy::XS; |
2
|
14
|
|
|
14
|
|
761972
|
use 5.008_001; |
|
14
|
|
|
|
|
151
|
|
3
|
|
|
|
|
|
|
|
4
|
14
|
|
|
14
|
|
65
|
use strict; |
|
14
|
|
|
|
|
23
|
|
|
14
|
|
|
|
|
231
|
|
5
|
14
|
|
|
14
|
|
48
|
use warnings; |
|
14
|
|
|
|
|
23
|
|
|
14
|
|
|
|
|
268
|
|
6
|
|
|
|
|
|
|
|
7
|
14
|
|
|
14
|
|
64
|
use XSLoader; |
|
14
|
|
|
|
|
21
|
|
|
14
|
|
|
|
|
314
|
|
8
|
|
|
|
|
|
|
|
9
|
14
|
|
|
14
|
|
5264
|
use parent qw/Exporter/; |
|
14
|
|
|
|
|
3547
|
|
|
14
|
|
|
|
|
58
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @EXPORT_OK = qw( |
14
|
|
|
|
|
|
|
sort_by |
15
|
|
|
|
|
|
|
rev_sort_by |
16
|
|
|
|
|
|
|
nsort_by |
17
|
|
|
|
|
|
|
rev_nsort_by |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
max_by nmax_by |
20
|
|
|
|
|
|
|
min_by nmin_by |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
uniq_by |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
partition_by |
25
|
|
|
|
|
|
|
count_by |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
zip_by |
28
|
|
|
|
|
|
|
unzip_by |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
extract_by |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
weighted_shuffle_by |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
bundle_by |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( all => \@EXPORT_OK ); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
XSLoader::load __PACKAGE__, $VERSION; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
__END__ |