Speed up PileupCollection.group_by_allele
Speed up PileupCollection.group_by_allele

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).

hammerlab/varcode,hammerlab/varcode