Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acamill/sblwwdictionary
Basic state-based LWW-Element-Dictionary with test cases
https://github.com/acamill/sblwwdictionary
Last synced: about 2 months ago
JSON representation
Basic state-based LWW-Element-Dictionary with test cases
- Host: GitHub
- URL: https://github.com/acamill/sblwwdictionary
- Owner: acamill
- Created: 2020-10-27T08:06:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-27T09:26:13.000Z (over 4 years ago)
- Last Synced: 2023-08-12T09:58:11.196Z (over 1 year ago)
- Language: Swift
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SBLWWDictionary
### Improvments
- resultingNodes/resultingElements could be generated in a more cost effective way, caching them and updating them as we go or just replaying the last operation since last fetch
- won't contain the history of changes, as dictionnary keys are the values, so only one add/remove per value in history -- it's by design but might be useful to have the history in practice
- timestamps are used as node unique identifiers, there could be collisions even if unlikely, should make that more robust- If needed add pure methods versions as for the merging (used in tests)
- Enabled code coverage locally : should add more test and fix the uncovered cases (Like removals in merge, quite big!)