hammerlab / vcf.js

A VCF parser and variant record model in JavaScript.
Apache License 2.0
22 stars 4 forks source link

Switch to Record.prototype #2

Closed danvk closed 10 years ago

danvk commented 10 years ago

This is more idiomatic and certainly saves a bunch of memory.

I don't see it improving performance on my test, though.

danvk commented 10 years ago

Testing: all tests still pass! :)

Seriously, though: I patched this into cycledash and it worked fine.

ihodes commented 10 years ago

Awesome, this massively reduces memory!