Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up Bio::DB::Fasta using compiled regular expressions or Inline::C #96

Merged
merged 5 commits into from
Dec 24, 2014
Merged

Speed up Bio::DB::Fasta using compiled regular expressions or Inline::C #96

merged 5 commits into from
Dec 24, 2014

Conversation

rocky
Copy link
Collaborator

@rocky rocky commented Dec 20, 2014

  • If available, use Inline::C
  • As a fallback, using compiled regexps in s/// speeds up subseq() by about 7% from 7.76s to 7.22s over 32358 calls on Variant Effect Prediction data. See my gist benchmarks
  • Compile regular expression for compound_id in Bio::DB::IndexedBase

Rocky Bernstein added 4 commits December 18, 2014 11:35
…m 7.76s to 7.22s over 32358 calls on Variant Effect Prediction data.
…ocument better

Build.PL: add Inline::C recommended dependency.
.gitignore: ignore _Inline directories that Inline::C creates.
fjossandon added a commit that referenced this pull request Dec 24, 2014
Speed up Bio::DB::Fasta using compiled regular expressions or Inline::C
@fjossandon fjossandon merged commit 8f5c723 into bioperl:master Dec 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants