Skip to content

Commit 3c19f37

Browse files
authored
Merge pull request #536 from Sainan/lzma-free-perf
Switch from 'lzma' to 'lzma-native' for a free ~4x speedup
2 parents 99231e8 + abcc9b1 commit 3c19f37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/cdn_compression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const AdmZip = require('adm-zip');
22
const ByteBuffer = require('bytebuffer');
3-
const LZMA = require('lzma');
3+
const LZMA = require('lzma-native');
44
const StdLib = require('@doctormckay/stdlib');
55
const {ZSTDDecoder} = require('zstddec');
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"bytebuffer": "^5.0.0",
3131
"file-manager": "^2.0.0",
3232
"kvparser": "^1.0.1",
33-
"lzma": "^2.3.2",
33+
"lzma-native": "^8.0.6",
3434
"protobufjs": "^7.2.4",
3535
"socks-proxy-agent": "^7.0.0",
3636
"steam-appticket": "^1.0.1",

0 commit comments

Comments
 (0)