| 1 | package Data::SortedSet::Shared; | ||
| 2 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | our $VERSION = '0.08'; | |
| 5 | 10 | require XSLoader; | |
| 6 | 10 | XSLoader::load('Data::SortedSet::Shared', $VERSION); | |
| 7 | |||
| 8 | 0 | ▶ | sub CLONE_SKIP { 1 } # blessed C-pointer handle: never clone into ithreads (double-free) |
|
Subroutine
CLONE_SKIP: not called CC=1 SCAR=6.9
| |||
| 9 | |||
| 10 | # String-keyed sets: members are arbitrary byte strings instead of int64 ids. | ||
| 11 | # Convenience constructor that builds a Data::SortedSet::Shared::Strings, which | ||
| 12 | # interns keys to ids via Data::Intern::Shared. | ||
| 13 | 1 | ▶ | sub new_strings { |
|
Subroutine
new_strings: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 14 | 1 | my $class = shift; | |
| 15 | 1 | require Data::SortedSet::Shared::Strings; | |
| 16 | 1 | return Data::SortedSet::Shared::Strings->new(@_); | |
| 17 | } | ||
| 18 | |||
| 19 | 10 | 1; | |
| 20 | __END__ | ||