mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
✨ Increase a little bit the compression level of blob encoding.
This commit is contained in:
parent
4928f875b3
commit
022d57ef42
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
||||||
cdata (byte-array mlen)
|
cdata (byte-array mlen)
|
||||||
clen (Zstd/compressByteArray ^bytes cdata 0 mlen
|
clen (Zstd/compressByteArray ^bytes cdata 0 mlen
|
||||||
^bytes data 0 dlen
|
^bytes data 0 dlen
|
||||||
4)]
|
6)]
|
||||||
(with-open [^ByteArrayOutputStream baos (ByteArrayOutputStream. (+ (alength cdata) 2 4))
|
(with-open [^ByteArrayOutputStream baos (ByteArrayOutputStream. (+ (alength cdata) 2 4))
|
||||||
^DataOutputStream dos (DataOutputStream. baos)]
|
^DataOutputStream dos (DataOutputStream. baos)]
|
||||||
(.writeShort dos (short 3)) ;; version number
|
(.writeShort dos (short 3)) ;; version number
|
||||||
|
|
Loading…
Reference in a new issue