Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/bytes.pm |
Statements | Executed 4 statements in 9µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 2µs | 2µs | import | bytes::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | bytes::
0 | 0 | 0 | 0s | 0s | unimport | bytes::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package bytes; | ||||
2 | |||||
3 | 1 | 500ns | our $VERSION = '1.04'; | ||
4 | |||||
5 | 1 | 100ns | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 2µs within bytes::import which was called:
# once (2µs+0s) by Encode::utf8::BEGIN@325 at line 325 of Encode.pm | ||||
8 | 1 | 6µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | sub unimport { | ||||
12 | $^H &= ~$bytes::hint_bits; | ||||
13 | } | ||||
14 | |||||
15 | sub AUTOLOAD { | ||||
16 | require "bytes_heavy.pl"; | ||||
17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
18 | require Carp; | ||||
19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
20 | } | ||||
21 | |||||
22 | sub length (_); | ||||
23 | sub chr (_); | ||||
24 | sub ord (_); | ||||
25 | sub substr ($$;$$); | ||||
26 | sub index ($$;$); | ||||
27 | sub rindex ($$;$); | ||||
28 | |||||
29 | 1 | 2µs | 1; | ||
30 | __END__ |