mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Improve saving speed by using crc32 instead of sha1 for checksum
This commit is contained in:
@@ -90,9 +90,6 @@ function compressObjectInternal(obj, keys = [], values = []) {
|
||||
}
|
||||
|
||||
export function compressObject(obj) {
|
||||
if (G_IS_DEV) {
|
||||
return obj;
|
||||
}
|
||||
const keys = [];
|
||||
const values = [];
|
||||
const data = compressObjectInternal(obj, keys, values);
|
||||
|
||||
Reference in New Issue
Block a user