Commit graph

472 commits

Author SHA1 Message Date
leeeon233
af29f7e202 fix: map pool mapping 2022-12-19 18:07:24 +08:00
leeeon233
27eb840525 fix: decode notify 2022-12-19 18:07:24 +08:00
leeeon233
13ca5b0dd5 chore: rebase main 2022-12-19 18:07:24 +08:00
leeeon233
4748e1d38c fix: decode hierarchy for snapshot mode
update columnar version, reduce compression time
2022-12-19 18:07:24 +08:00
leeeon233
ffce7d81eb chore: rename encode changes to rle updates 2022-12-19 18:07:24 +08:00
leeeon233
b0b1fddef3 refactor: unify encode api 2022-12-19 18:07:24 +08:00
Zixuan Chen
ffd329393a Merge branch 'main' into perf-reduce-checkout 2022-12-16 12:29:35 +08:00
leeeon233
4cfdbff768 chore: rebase 2022-12-13 23:06:21 +08:00
leeeon233
815b95d126 test: add standardize encoding 2022-12-13 23:02:33 +08:00
leeeon233
f0b8cf301f fix: import 2022-12-13 23:02:33 +08:00
leeeon233
8805cfb144 perf: reduce snapshot doc size 2022-12-13 23:02:33 +08:00
leeeon233
972814aec5 chore: check bug 2022-12-13 23:02:33 +08:00
leeeon233
9b74125ba5 chore: update columnar 2022-12-13 23:02:33 +08:00
leeeon233
9024807d74 chore: rebase main 2022-12-13 23:02:33 +08:00
leeeon233
1c8f3784f0 feat: add pool mapping
Co-authored-by: Zixuan Chen <me@zxch3n.com>
2022-12-13 23:02:33 +08:00
leeeon233
70b3126d79 chore: rebase main 2022-12-13 23:02:32 +08:00
Zixuan Chen
d3af9b9665 chore: pool mapping init
Co-authored-by: Leonzhao <leeeon233@gmail.com>
2022-12-13 23:02:32 +08:00
leeeon233
b3420e4f64 fix: compress flag 2022-12-13 23:02:32 +08:00
leeeon233
2fb675f145 chore: clean file 2022-12-13 23:02:32 +08:00
leeeon233
16400ddab0 fix: remove container encoding 2022-12-13 23:02:32 +08:00
leeeon233
85865e592a feat: state snapshot import 2022-12-13 23:02:32 +08:00
leeeon233
3727fb7f72 fix: add compress 2022-12-13 23:01:17 +08:00
leeeon233
b2c3010454 chore: modify fuzz 2022-12-13 23:01:17 +08:00
leeeon233
86b65ec638 chore: fix container mergable 2022-12-13 23:01:17 +08:00
leeeon233
48d784bcd1 feat: add map state snapshot 2022-12-13 23:01:17 +08:00
Zixuan Chen
c7e5c907d5 fix: list 2022-12-13 23:01:17 +08:00
leeeon233
8037f4034d chore: bug list rle range 2022-12-13 23:01:17 +08:00
leeeon233
2fedf8d396 feat: state snapshot
Co-authored-by: Zixuan Chen <me@zxch3n.com>
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
cf1f7dc443 fix: ues try_lock 2022-12-13 14:47:19 +08:00
Zixuan Chen
0c22c3e5e4 perf: reduce space alloc 2022-12-10 10:15:54 +08:00
Zixuan Chen
098203ba5a refactor: version vector iter diff 2022-12-09 23:14:00 +08:00
Zixuan Chen
4ab86e4029 perf: reduce checkout when importing 2022-12-09 21:20:59 +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
569cfdcf5e perf(rle): use simple iter range for range_map 2022-12-09 10:46:55 +08:00
Zixuan Chen
bc57f01e18 fix: simplify op set 2022-12-09 10:46:55 +08:00
Zixuan Chen
3eff9a2091 bench: add benchmark for many concurrent actors 2022-12-09 10:46:55 +08:00
Zixuan Chen
b74ab34f79 chore(wasm): make build parallel 2022-12-09 10:46:55 +08:00
Zixuan Chen
f9f556f822 fix: add local info 2022-12-09 10:46:55 +08:00
Zixuan Chen
bc66583863 fix: container may be deleted from doc when editing 2022-12-09 10:46:55 +08:00
Zixuan Chen
05f19de9de fix: try to avoid recursive lock in notification 2022-12-09 10:46:55 +08:00
Zixuan Chen
a24e284fba fix: hierarchy notify 2022-12-09 10:46:55 +08:00
Zixuan Chen
db29178982 fix: make subscription work 2022-12-09 10:46:55 +08:00
Zixuan Chen
b98c22570d fix: get container by id err 2022-12-09 10:46:55 +08:00
Zixuan Chen
f14905d562 feat: init encoding and build pipeline for wasm 2022-12-09 10:46:30 +08:00
Zixuan Chen
5040a6f511 refactor: change fn signature 2022-12-09 10:46:30 +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
2604c4a3fb refactor: make internal and leaf use same type of cache 2022-12-06 16:21:48 +08:00
Zixuan Chen
09b3f5722b test: add automerge x100 dataset 2022-12-06 16:21:48 +08:00
Zixuan Chen
39f514022e fix: make text container send&sync 2022-12-06 16:21:48 +08:00