Browse Source

make codeLenCodeMap a typed array

Andreas Gal 14 years ago
parent
commit
cd7c229ccc
  1. 4
      pdf.js

4
pdf.js

@ -112,9 +112,9 @@ var StringStream = (function() {
})(); })();
var FlateStream = (function() { var FlateStream = (function() {
const codeLenCodeMap = [ const codeLenCodeMap = new Uint32Array([
16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15
]; ]);
const lengthDecode = [ const lengthDecode = [
[0, 3], [0, 3],

Loading…
Cancel
Save