Ensembl / Bio-DB-HTS

Git repo for Bio::DB::HTS module on CPAN, providing Perl links into HTSlib
Apache License 2.0
24 stars 16 forks source link

Use reftype() not ref() to find the underlying structure a ref points at #23

Closed andrewyatz closed 8 years ago

andrewyatz commented 8 years ago

Final fix. Final memory leak?

keiranmraine commented 8 years ago

Pulled, tested... 👍

$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 1
45440k
$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 10
45456k
$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 100
45440k
$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 1000
45456k
$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 10000
45456k
$ /usr/bin/time -f '%Mk' perl htsTabix_mem.pl groups.gz 1:9551-10140 100000
45440k