WeSearch

qdf: a Go serializer that decodes less, packs harder, and lets you query the bytes

·18 min read · 0 reactions · 0 comments · 32 views
#go#serialization#performance#opensource
qdf: a Go serializer that decodes less, packs harder, and lets you query the bytes
TL;DR · WeSearch summary

qdf is a new Go serializer designed to optimize performance and reduce data size. It offers a schemaless approach, achieving up to 68% smaller sizes compared to protobuf and decoding 4–9 times faster than the standard encoding/json. Additionally, qdf allows for selective querying of bytes, making it a unique tool for developers working with serialized data.

Key facts
About this source

DEV.to (Top) files mainly under programming. We currently carry 4,877 of its stories.

Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3966198) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Aleksandr Yershov Posted on Jun 3 qdf: a Go serializer that decodes less, packs harder, and lets you query the bytes #go #opensource #serialization #performance TL;DR for the impatient. qdf is a schemaless Go serializer (struct tags, no .proto).

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)