Speed improvement: use m// instead of s/// Speed improvement: use optimization loop in restrict_between_reference_positions() until all the nucleotides have been found as this improves drastically the speed especially for huge sequences when looking from the end of the sequence.
Speed improvement: use m// instead of s///
Speed improvement: use optimization loop in restrict_between_reference_positions() until all the nucleotides have been found as this improves drastically the speed especially for huge sequences when looking from the end of the sequence.

danstaines/ensembl-compara,ckongEbi/ensembl-compara,Ensembl/ensembl-compara,etapanari/ensembl-compara,kumarsaurabh20/ensembl-compara,ckongEbi/ensembl-compara,Ensembl/ensembl-compara,kumarsaurabh20/ensembl-compara,etapanari/ensembl-compara,kumarsaurabh20/ensembl-compara,kumarsaurabh20/ensembl-compara,dbolser-ebi/ensembl-compara,Ensembl/ensembl-compara,Ensembl/ensembl-compara,danstaines/ensembl-compara,Ensembl/ensembl-compara,etapanari/ensembl-compara,danstaines/ensembl-compara,danstaines/ensembl-compara,Ensembl/ensembl-compara,danstaines/ensembl-compara,Ensembl/ensembl-compara,etapanari/ensembl-compara,ckongEbi/ensembl-compara,dbolser-ebi/ensembl-compara,Ensembl/ensembl-compara,dbolser-ebi/ensembl-compara