TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JSON Compression: Alternative Binary Formats and Compression Methods (2019)

2 pointsby bfelboover 1 year ago

1 comment

nabla9over 1 year ago
Brotli wins because it uses a predefined dictionary of 120 KiB in size in addition to typical sliding window dictionary.The dictionary contains over 13k words, phrases and other substrings derived text and HTML documents.<p>Zstandard can use a user-provided compression dictionary. It has training mode to generate those.<p>My hypothesis is that JSON-&gt;Zstd-&gt;JSON would win if you would give Zstd equivalent dictionary. Trained with application specific dictionary would be even faster.