Small memory performance improvement: remove the mapping from the hash instead of setting the value to null (i.e. remove the key too)

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4256 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-09-12 05:19:09 +00:00
parent a0231f073f
commit 61d511f601
1 changed files with 1 additions and 2 deletions

View File

@ -45,7 +45,6 @@ import org.broadinstitute.sting.gatk.walkers.RodWalker;
import org.broadinstitute.sting.gatk.walkers.Window;
import org.broadinstitute.sting.utils.BaseUtils;
import org.broadinstitute.sting.utils.GATKException;
import org.broadinstitute.sting.utils.StingException;
import org.broadinstitute.sting.utils.exceptions.UserError;
@ -283,7 +282,7 @@ public class TranscriptToGenomicInfo extends RodWalker<Integer, Integer> {
}
// remove it from the cache
storedTranscriptInfo.put(featureKey, null);
storedTranscriptInfo.remove(featureKey);
transcriptsProcessedCounter++;
if ( transcriptsProcessedCounter % 100 == 0 )