/*global describe, it, pako, assert*/ 'use strict'; var size = 100*1000; var data_bin = (typeof Uint8Array !== 'undefined') ? new Uint8Array(size) : new Array(size); for (var i=data_bin.length-1; i>=0; i--) { data_bin[i] = (Math.random(256)*256) & 0xff; } var cmp = function (a, b) { if (a.length !== b.length) { return false; } for (var i=0, l=a.length; i