Filename | /System/Library/Perl/5.12/bytes.pm |
Statements | Executed 4 statements in 17µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 4µs | 4µ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 | 900ns | our $VERSION = '1.04'; | ||
4 | |||||
5 | 1 | 200ns | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 4µs within bytes::import which was called:
# once (4µs+0s) by Data::Dumper::BEGIN@683 at line 683 of Data/Dumper.pm | ||||
8 | 1 | 9µ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 | 6µs | 1; | ||
30 | __END__ |