Skip to content

Speed up PileupCollection.group_by_allele#79

Merged
timodonnell merged 1 commit intomasterfrom
group_by_allele_fix
May 1, 2015
Merged

Speed up PileupCollection.group_by_allele#79
timodonnell merged 1 commit intomasterfrom
group_by_allele_fix

Conversation

@timodonnell
Copy link
Copy Markdown
Contributor

A loop in this function was accidentally running in time proportional to the total number of reads in the collection. This fix speeds up this function to an embarassing extent (over 1000X in my use case).

Review on Reviewable

A loop in this function was accidentally running in time proportional to the total number of reads in the collection. This fix speeds up this function to an embarassing extent (over 1000X in my use case).
@iskandr
Copy link
Copy Markdown
Contributor

iskandr commented May 1, 2015

LGTM and I'm really happy del split[None] is gone.

timodonnell added a commit that referenced this pull request May 1, 2015
Speed up PileupCollection.group_by_allele
@timodonnell timodonnell merged commit bc76cc5 into master May 1, 2015
@timodonnell timodonnell deleted the group_by_allele_fix branch May 1, 2015 18:26
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.

2 participants