green-coder / green-coder/diffuse

Compress the data before sending over the network

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Clojure
Stars
51
Forks
1
PR merge metrics
No merged PRs in 30d

Description

(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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.