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

Commits on Dec 18, 2014

  1. Using compiled regexps in s/// speeds up seq/subseq() by about 7% fro…

    …m 7.76s to 7.22s over 32358 calls on Variant Effect Prediction data.
    Rocky Bernstein committed Dec 18, 2014
    Configuration menu
    Copy the full SHA
    637998c View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2014

  1. Another regular expression which benefits from compiling

    Rocky Bernstein committed Dec 19, 2014
    Configuration menu
    Copy the full SHA
    35e6476 View commit details
    Browse the repository at this point in the history
  2. If we have Inline::C around, use that to speed up remove carriage ret…

    …urns and
    
    line feeds (\n) and (\r).
    Rocky Bernstein committed Dec 19, 2014
    Configuration menu
    Copy the full SHA
    65e599b View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2014

  1. Fasta.pm: Add my variable in strip_crnl and rename from strip_nlcr. D…

    …ocument better
    
    Build.PL: add Inline::C recommended dependency.
    .gitignore: ignore _Inline directories that Inline::C creates.
    Rocky Bernstein committed Dec 20, 2014
    Configuration menu
    Copy the full SHA
    d2cc41f View commit details
    Browse the repository at this point in the history
  2. Faster, more idiomatic C code. Use stiop_crln() in the other place it…

    … is used.
    Rocky Bernstein committed Dec 20, 2014
    Configuration menu
    Copy the full SHA
    f6eca3e View commit details
    Browse the repository at this point in the history