green-coder / green-coder/diffuse

Compress the data before sending over the network

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Clojure
Sterne
51
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

(Based on the feedback from @plexus w.r.t. the http PATCH use case)

The data representation of the diff was chosen for its user friendliness and its efficiency during composition. It is relatively verbose for been send over the network.

The data could potentially be encoded into something smaller. We could add some serialize / deserialize functions to compress it. For instance:
- in maps, keys could be grouped by operations, similarly to the sets.
- in vectors, the index-ops could be flattened 1 level, a `:replace` operation could replace a `:remove` followed by an `:insert`.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.