[Bioperl-l] removing BEGIN blocks?

Heikki Lehvaslaiho heikki@ebi.ac.uk
19 Sep 2002 18:12:30 +0100


Aaron, 

I noticed you removed the BEGIN block from Bio::PrimarySeq and just kept
the global static variable initialized there. 

Does that change give the code as ignificant speedup? Do you recommend
that we do that in all modules with similar setup? 

I am thinking here, for example Bio::Tools::CodonTable. Translation
speed has been an issue in the past. 

-Heikki 


-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki@ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________