leeeon233
48d784bcd1
feat: add map state snapshot
2022-12-13 23:01:17 +08:00
Zixuan Chen
83af4d07eb
Merge pull request #44 from loro-dev/feat-wasm-encode
...
Feat: wasm encode
2022-12-13 16:34:54 +08:00
Zixuan Chen
68bd7179c4
Perf remove string pool mutex ( #41 )
...
This is based on append-only-bytes. It allows us to share str data in a lock-free way. The downside of this method is it tends to use more memory
2022-12-09 17:22:33 +08:00
Zixuan Chen
a24e284fba
fix: hierarchy notify
2022-12-09 10:46:55 +08:00
Zixuan Chen
594b60dafb
Perf store cache in parent node ( #36 )
...
* refactor: make internal and leaf use same type of cache
* refactor: add cache update
* test : add normalization to arb test
* test: fuzz
* fix: internal insert bug
* fix: missing utf16
* test: fix test sub overflow
* feat: use heapless for binary heap
* refactor: refine warning
* test: reduce test time
* perf: reduce computation when finding pos
* bench: fix ignore parse time in benching
* feat: make it compile in new sig (should be merged)
* fix: type err
* fix: fix type err
* fix: cache when merge & borrow
* refactor: simplify code
* fix: cumulated tree trait bug
* fix: a few fatal bugs (still buggy)
* fix: global tree trait
* refactor: rm an unused fn
* fix: insert at cursor bug
* fix: in cursor insert cache may be invalid
strip the checker there
* chore: remove needless check
* refactor: add inline to methods
* test: remove cfg=mem for mem example
* fix: type err
2022-12-06 16:34:46 +08:00
Zixuan Chen
39f514022e
fix: make text container send&sync
2022-12-06 16:21:48 +08:00
Zixuan Chen
f757b86f5c
Fix: unsound (violate borrow stack rules) bugs detected by Miri ( #32 )
...
* fix: borrow stack bugs exposed by miri
* fix: use context to track notify when integrating
* fix: miri bugs
* fix: borrow stack bugs
* fix: set range miri err
2022-12-06 16:05:58 +08:00
Zixuan Chen
610a651b5c
fix: vec slice is ill defined
2022-12-06 15:50:35 +08:00
Zixuan Chen
45c1a2e791
fix: decode deps
2022-11-30 23:55:58 +08:00
Zixuan Chen
361003f1f2
chore: remove debug log
2022-11-28 17:26:26 +08:00
Zixuan Chen
7a6e50931d
chore: replace justfile with deno task
2022-11-21 12:50:15 +08:00
Zixuan Chen
af26c9d782
refactor: extract import, improve readability
2022-11-18 01:08:39 +08:00
Zixuan Chen
a873078df0
refactor: remove OpContent type
2022-11-17 11:11:30 +08:00
leeeon233
f468e3b57b
fix: encode when only create container but no op
2022-11-16 17:01:03 +08:00
Zixuan Chen
ebe907dc8d
test: update fuzzing type
2022-11-15 15:54:29 +08:00
Zixuan Chen
98c9360a85
fix: op content merge
2022-11-15 00:30:31 +08:00
Zixuan Chen
1ca3f0e774
refactor: rename feature fuzzing to test_utils
2022-11-14 10:49:42 +08:00
Zixuan Chen
36d141edee
test: speed up recursive fuzzing test
2022-11-13 16:14:28 +08:00
Zixuan Chen
e385c09e11
fix: seq container vv error
2022-11-13 15:16:18 +08:00
Zixuan Chen
4da32c7d0e
test: fuzzing test init
2022-11-12 17:51:34 +08:00
Zixuan Chen
12cc746ff2
chore: setup benchmark
2022-10-28 15:25:11 +08:00
Zixuan Chen
328d0517c0
chore: update crdt-list dep
2022-10-26 23:35:21 +08:00
Zixuan Chen
e2dc6382d0
chore: bk
2022-10-26 23:31:34 +08:00
Zixuan Chen
0cd16d6e4b
test: add 8 client fuzz text test
2022-10-26 23:31:34 +08:00
Zixuan Chen
037093f6bd
fix: partial iter bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
b099b4507c
fix: add 2 site tests & fix update cursor bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
cf11e1ff4b
test: single client fuzz
2022-10-26 23:31:34 +08:00
Zixuan Chen
947eb13853
chore: cleanup
2022-10-26 23:31:34 +08:00
Zixuan Chen
9080e68c89
fix: get is span should consider unapplied status
2022-10-26 23:31:34 +08:00
Zixuan Chen
f760aad046
test: add bench facilities
2022-10-26 23:31:34 +08:00
Zixuan Chen
7f728db495
fix: yata fuzzing works now
2022-10-26 23:31:34 +08:00
Zixuan Chen
a93d9f762d
fix: cursor should not use Deref
...
`crdt-list` expected derefed cursor to be a sliced operation, but it was not.
so I updated crdt-list to use a GetOp trait instead of Deref, where
users may slice the op if they want to.
2022-10-26 23:31:34 +08:00
Zixuan Chen
d34abeef92
fix: insert map logic bug
2022-10-26 23:31:34 +08:00
Zixuan Chen
bc980c5b02
feat: iter update in rle tree
2022-10-26 23:31:34 +08:00
Zixuan Chen
92a2e48ef5
chore: yata init
2022-10-26 23:31:34 +08:00
Zixuan Chen
95b63e7f47
refactor: remove RleTreeRaw layer
2022-10-26 23:31:34 +08:00
Zixuan Chen
5ca3a42a0b
test: add fuzz and fix a few iter bugs
2022-10-26 23:31:34 +08:00