Commit graph

435 commits

Author SHA1 Message Date
Zixuan Chen
0c631697f7 docs: add doc about importing method 2022-11-18 17:30:27 +08:00
Zixuan Chen
c4064aad34 refactor: extract some common method to tracker 2022-11-18 16:57:37 +08:00
Zixuan Chen
78d6f99929 refactor: remove heads on lists 2022-11-18 16:40:20 +08:00
Zixuan Chen
2ecb156f30 fix: feature err 2022-11-18 16:40:11 +08:00
Zixuan Chen
e5c022b204 refactor: remove unused logics 2022-11-18 16:31:00 +08:00
Zixuan Chen
ce1bc62b03 refactor: add len method to all container 2022-11-18 16:19:35 +08:00
Zixuan Chen
5686a37f09 chore: cargo fix 2022-11-18 16:16:09 +08:00
Zixuan Chen
af26c9d782 refactor: extract import, improve readability 2022-11-18 01:08:39 +08:00
Zixuan Chen
c9e3a67963 test: fix range map tests 2022-11-18 00:32:18 +08:00
Zixuan Chen
521615b1a0 perf: replace returned vec with iterator 2022-11-18 00:32:18 +08:00
Zixuan Chen
402b174842 perf: avoid heap alloc 2022-11-18 00:32:18 +08:00
Zixuan Chen
878f6cf939 chore: refine map max children config 2022-11-18 00:32:18 +08:00
Zixuan Chen
f6adb76436 perf: remove needless change copy when importing 2022-11-18 00:32:18 +08:00
Zixuan Chen
ff9877db42 fix: remove needless notify 2022-11-18 00:32:05 +08:00
leeeon233
1a2486283b chore: rename columnar 2022-11-18 00:32:05 +08:00
leeeon233
090b6852b7 chore: columnar dependency use git path 2022-11-18 00:31:53 +08:00
leeeon233
c4995e7ba2 chore: add encode bench 2022-11-18 00:31:26 +08:00
leeeon233
c9f63b6594 feat: add compress 2022-11-18 00:31:11 +08:00
Zixuan Chen
8e8af7d4c6 chore: remove log 2022-11-18 00:07:06 +08:00
Zixuan Chen
b6c0c09c3d perf: cache tracker checkout 2022-11-18 00:04:50 +08:00
Zixuan Chen
3b42c06a01 fix: op iter bug 2022-11-17 23:44:57 +08:00
Zixuan Chen
e7b1148c8a fix: make directly apply faster 2022-11-17 23:17:36 +08:00
Zixuan Chen
f5ae229ca3 fix: make recursive case work
During applying new changes, retreat and forward should use
all the containers rather than just the container affected by current
applied changes.
2022-11-17 22:37:04 +08:00
Zixuan Chen
0c4afed968 refactor: use rich op when applying changes 2022-11-17 19:46:21 +08:00
Zixuan Chen
a2890f68ec chore: remove log 2022-11-17 19:03:06 +08:00
Zixuan Chen
8bb427a969 fix: empty input 2022-11-17 18:54:15 +08:00
Zixuan Chen
26a68dc64a fix: make it work for text container simple cases 2022-11-17 18:52:18 +08:00
Zixuan Chen
b89ac938db refactor: initialize new import pipeline 2022-11-17 17:11:55 +08:00
Zixuan Chen
a873078df0 refactor: remove OpContent type 2022-11-17 11:11:30 +08:00
Zixuan Chen
f89550d542 refactor: fix warnings 2022-11-17 10:48:46 +08:00
Zixuan Chen
4250095a98 refactor: add register container method 2022-11-17 10:31:56 +08:00
Zixuan Chen
215ddb3d01 refactor: rename dag partial iter to causal iter 2022-11-17 10:26:52 +08:00
Zixuan Chen
2a391b8797 test: add list containers bench 2022-11-17 10:22:28 +08:00
leeeon233
f468e3b57b fix: encode when only create container but no op 2022-11-16 17:01:03 +08:00
Zixuan Chen
33edd89e6e chore: rm needless type annotation 2022-11-16 11:07:21 +08:00
Zixuan Chen
0fff16faf3 test: add gzip size test 2022-11-15 17:41:55 +08:00
Zixuan Chen
5dd13f64ed perf: should use columnar strategy 2022-11-15 17:31:52 +08:00
Zixuan Chen
7ccb8eaeb2 perf: make deps encoding more compact 2022-11-15 17:22:46 +08:00
Zixuan Chen
fbb2403f8f fix: update crate path 2022-11-15 17:07:05 +08:00
Zixuan Chen
a91b43ab25 fix: encoding error 2022-11-15 17:01:45 +08:00
Zixuan Chen
6c1fef7c95 fix: make export less strict 2022-11-15 16:26:15 +08:00
Zixuan Chen
89a2659dfb fix: decode unknown 2022-11-15 16:15:15 +08:00
Zixuan Chen
afe084f4fe Merge remote-tracking branch 'origin/feat-encode-decode' into feat-gc-fast 2022-11-15 16:13:12 +08:00
Zixuan Chen
811d585fed feat: add gc feature gate 2022-11-15 16:02:42 +08:00
Zixuan Chen
ebe907dc8d test: update fuzzing type 2022-11-15 15:54:29 +08:00
Zixuan Chen
284f1e0862 fix: it's possible to enter the no sibling state 2022-11-15 15:53:03 +08:00
leeeon233
5ec8752d3d fix: make LoroValue serialize & deserialize compatible with json and binary 2022-11-15 15:50:41 +08:00
leeeon233
580f2e54be feat: impl loro decode
Co-authored-by: Zixuan Chen <me@zxch3n.com>
2022-11-15 15:50:41 +08:00
Zixuan Chen
c57d4b0e52 perf: reduce copies when encoding 2022-11-15 15:50:33 +08:00
Zixuan Chen
114e12944d fix: should use slicerange in text container 2022-11-15 14:37:18 +08:00