-
Notifications
You must be signed in to change notification settings - Fork 0
Why? #1
Copy link
Copy link
Closed
Labels
enhancementNew feature or enhancement of existing functionalityNew feature or enhancement of existing functionalitygood first issueGood for newcomersGood for newcomershelp wantedIf you can help make progress with this issue, please comment!If you can help make progress with this issue, please comment!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or enhancement of existing functionalityNew feature or enhancement of existing functionalitygood first issueGood for newcomersGood for newcomershelp wantedIf you can help make progress with this issue, please comment!If you can help make progress with this issue, please comment!
Type
Projects
Status
✅ Done
The Delta format https://quilljs.com/docs/delta is quite verbose:
From the Developer perspective, having a verbose format makes perfect sense because it's easy to understand at a glance what is going on. Given that computers are more than fast enough to process this verbose format, it won't affect the performance of any app using the Delta format.
Where we feel there is scope for improvement is in:
a) data transmission i.e. saving bandwidth for people who don't have a lot of it
b) saving complete history of changes so that they can be replayed
We can minify this to:
(157 - 117 / 157) = 25% bandwidth saving.
It might not feel like much of a saving in this trivial example, but if you scale it up to entire documents and thousands (millions?) of concurrent people using a collaborative editor,
a 25% saving on a $10k/month bandwidth bill is $30k/year! Saving bandwidth is the right thing to do for the World! Obviously this is micro-bandwidth saving is meaningless in a world where Google Stadia is server-rendering and streaming 4K games in realtime ... 🤦 But we can only try to set a good example to follow.
Todo
insert,retain,text,attributes, etc.i,r,t,ae.g:
insertis used more often thanimportsoinsert>iandimport>im