Bio-DB-Das-Chado

 view release on metacpan or  search on metacpan

lib/Bio/DB/Das/Chado/Segment.pm  view on Meta::CPAN

performant as the one generated by features, and the calls to
Bio::DB::Das::Chado::Segment->sub_SeqFeatures are avoided, but this
doesn't lead to a huge performace boost.

If a further development increases the performances provided by this 2
level prefetch, we will need to refactor features and _features2level
to avoid code duplication

=cut

sub _features2level(){
  my $self = shift;

  warn "Segment->_features2level() args:@_\n" if DEBUG;

  my ($types,$type_placeholder,$attributes,$rangetype,$iterator,$callback,$base_start,$stop,$feature_id,$factory);
  if ($_[0] and $_[0] =~ /^-/) {
    ($types,$type_placeholder,$attributes,$rangetype,$iterator,$callback,$base_start,$stop,$feature_id,$factory) =
      $self->_rearrange([qw(TYPES 
                            TYPE
                            ATTRIBUTES 



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