Open
Bug 1586563
Opened 5 years ago
Updated 3 months ago
LSNG: Switch to LZ4 compression
Categories
(Core :: Storage: localStorage & sessionStorage, enhancement, P2)
Core
Storage: localStorage & sessionStorage
Tracking
()
NEW
People
(Reporter: janv, Unassigned)
References
(Blocks 1 open bug)
Details
https://searchfox.org/mozilla-central/rev/deaf58acd27bc663750548e303ac2b461a821cf8/mfbt/Compression.h#27
"Compared to Google's Snappy it is faster to compress and decompress and generally produces output of about the same size."
https://github.com/lz4/lz4
Decompression seems much faster.
We don't have to upgrade all db files. We can just introduce new compression type and use it for new or updated values. At the moment the compressed column can be either 0 or 1. We can add 2 for LZ4.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•