optimization 1 - most dramatic as it stops iterating through longer list (vcf records)
if size(vcf_subarray,1) == size(sig_list,1)
break
end
optimization 1 - stops iterating through sig_list for vcf record match (nested in vcf record iteration)
if (VCF.chrom(record) == chr) && (VCF.pos(record) == pos)
push!(vcf_subarray,record)
break
end
optimization 1 - most dramatic as it stops iterating through longer list (vcf records) if size(vcf_subarray,1) == size(sig_list,1) break end
optimization 1 - stops iterating through sig_list for vcf record match (nested in vcf record iteration) if (VCF.chrom(record) == chr) && (VCF.pos(record) == pos) push!(vcf_subarray,record) break end