Class-Std-Fast

 view release on metacpan or  search on metacpan

lib/Class/Std/Fast.pm  view on Meta::CPAN

    croak q{you can't call this method in your namespace}
        if 0 != index caller, 'Class::Std::';
    return $attribute{$_[-1]};
}

sub _set_optimization_level {
    $optimization_level_of{$_[0]} = $_[1] || 1;
}

# Prototype allows perl to inline ID
sub ID() {
    return $instance_counter++;
}

sub ident ($) {
    return ${$_[0]};
}

sub _init_class_cache {
    $do_cache_class_of{ $_[0] } = 1;
    $object_cache_of{ $_[0] } ||= [];



( run in 0.711 second using v1.01-cache-2.11-cpan-65fba6d93b7 )