Filename | /usr/lib64/perl5/vendor_perl/List/Util.pm |
Statements | Executed 11 statements in 536µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 21µs | 44µs | BEGIN@11 | List::Util::
0 | 0 | 0 | 0s | 0s | sum0 | List::Util::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # List::Util.pm | ||||
2 | # | ||||
3 | # Copyright (c) 1997-2009 Graham Barr <gbarr@pobox.com>. All rights reserved. | ||||
4 | # This program is free software; you can redistribute it and/or | ||||
5 | # modify it under the same terms as Perl itself. | ||||
6 | # | ||||
7 | # This module is normally only loaded if the XS module is not available | ||||
8 | |||||
9 | package List::Util; | ||||
10 | |||||
11 | 2 | 198µs | 2 | 68µs | # spent 44µs (21+24) within List::Util::BEGIN@11 which was called:
# once (21µs+24µs) by Error::BEGIN@46 at line 11 # spent 44µs making 1 call to List::Util::BEGIN@11
# spent 24µs making 1 call to strict::import |
12 | 1 | 800ns | require Exporter; | ||
13 | |||||
14 | 1 | 11µs | our @ISA = qw(Exporter); | ||
15 | 1 | 3µs | our @EXPORT_OK = qw(first min max minstr maxstr reduce sum sum0 shuffle); | ||
16 | 1 | 400ns | our $VERSION = "1.27"; | ||
17 | 1 | 300ns | our $XS_VERSION = $VERSION; | ||
18 | 1 | 28µs | $VERSION = eval $VERSION; # spent 4µs executing statements in string eval | ||
19 | |||||
20 | 1 | 600ns | require XSLoader; | ||
21 | 1 | 283µs | 1 | 271µs | XSLoader::load('List::Util', $XS_VERSION); # spent 271µs making 1 call to XSLoader::load |
22 | |||||
23 | sub sum0 | ||||
24 | { | ||||
25 | return 0 unless @_; | ||||
26 | goto ∑ | ||||
27 | } | ||||
28 | |||||
29 | 1 | 12µs | 1; | ||
30 | |||||
31 | __END__ |