Implement stringref extension

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
24/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js
Ambito
backend

Direzione di ricerca

The issue proposes adding CBOR stringref tags 25 and 256 to the encoder and decoder, but names no files or tests. Start by reading the encoder and decoder entry points and their existing tag handling. Done means repetitive strings can use the extension during encoding and are decoded correctly, with little overhead when stringref is unused.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The http://cbor.schmorp.de/stringref CBOR extension (tags 25 and 256) permit substantial compression of CBOR encoded objects with repetitive string values. It seems adding this to the CBOR encoder and decoder would introduce relatively little overhead in cases where it isn't used, and could actually run faster when decoding objects where the compression is effective.

This is a topic that interests me, and I'd be willing develop a pull request for it if you are interested.

Lingua principale
JavaScript
Stelle
379
Fork
73
Merge medio
7m
PR unite (30g)
1

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hildjj/node-cbor

Tutte le issue di hildjj/node-cbor

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.