Use typed array to boost performance by 50%

Haven't tested on node 0.6, but added guard in package.json for that