Commit graph

1660 commits

Author SHA1 Message Date
Zixuan Chen
738a7ff2b9 refactor: rename integer 2022-11-08 20:04:54 +08:00
Zixuan Chen
2ae4db14f6 refactor: change loro value type 2022-11-08 15:40:14 +08:00
Zixuan Chen
de84a633f9 refactor: change get value signature 2022-11-08 14:59:13 +08:00
Zixuan Chen
e7af203efa Merge branch 'chore-clean-todos' 2022-11-08 12:41:11 +08:00
Zixuan Chen
0acb003fe1 chore: update todo doc 2022-11-08 12:41:01 +08:00
Zixuan Chen
f7821f0515 fix: use after free in heap mode when deleting 2022-11-08 11:39:58 +08:00
Zixuan Chen
e833c1d5d7 chore: remove redundant todo 2022-11-08 10:50:55 +08:00
Zixuan Chen
9050f6dd3f
Merge pull request #11 from loro-dev/refactor-bump
Refactor: make allocation method in RleTree generic
2022-11-08 10:20:31 +08:00
Zixuan Chen
64c985ce73 Merge branch 'main' into refactor-bump 2022-11-08 10:19:42 +08:00
Zixuan Chen
3ec8f4ce00
Merge pull request #12 from loro-dev/refactor-remove-parallel-feat
Refactor: remove isomophic and parallel feature in loro-core
2022-11-07 23:46:53 +08:00
Zixuan Chen
54ed394640 chore: add basic web test code 2022-11-07 23:37:10 +08:00
Zixuan Chen
8dc788e404 refactor: remove isomophic and parallel feature
features should be additive in Rust
2022-11-07 23:27:40 +08:00
Zixuan Chen
b086185d86 chore: refine doc 2022-11-07 15:25:48 +08:00
Zixuan Chen
420d29e42f chore: add doc for heapmode 2022-11-07 15:24:02 +08:00
Zixuan Chen
82ef8a42ee refactor: rename modes to HeapMode and BumpMode 2022-11-07 15:20:49 +08:00
Zixuan Chen
a3df07bf5c refactor: make Bump mode newtype 2022-11-07 15:19:48 +08:00
Zixuan Chen
c7d3e01087 refactor: no boxing for T in RleTree
and make Heap mode as the default mode, because users
should be aware of Bump mode's limitation before using it
2022-11-07 15:10:36 +08:00
Zixuan Chen
62891e25b3 fix: use heap mode in text state
Fix #8
2022-11-07 14:26:10 +08:00
Zixuan Chen
303b1c6787 chore: cargo fix 2022-11-07 14:21:06 +08:00
Zixuan Chen
24cd11f59e refactor: make bump optional in rle tree 2022-11-07 14:16:53 +08:00
Zixuan Chen
ea2f1256b8 chore: ci 2022-11-06 23:25:24 +08:00
Zixuan Chen
1a8fb458a9 chore: use stable rust as GAT become stable 2022-11-06 23:18:15 +08:00
Zixuan Chen
f14a2c916f
Merge pull request #7 from loro-dev/refactor-reverse-merge
Feat: merge deletions in both directions
2022-11-02 14:40:40 +08:00
Zixuan Chen
dd2c2701c4 chore: more debug info 2022-11-01 23:07:30 +08:00
Zixuan Chen
b5370af5e9 test: add mem-prof feature to test memory 2022-11-01 18:34:59 +08:00
Zixuan Chen
3ea9770871 fix: merge err 2022-11-01 18:16:55 +08:00
Zixuan Chen
5a7b9c7a0b Merge branch 'feat-wasm' into refactor-reverse-merge 2022-11-01 17:59:23 +08:00
Zixuan Chen
d6a1fce35e
Merge pull request #6 from loro-dev/feat-wasm
feat: wasm & performance improvement
2022-11-01 17:59:10 +08:00
Zixuan Chen
72e52d8925 chore: cargo fix 2022-11-01 17:53:57 +08:00
Zixuan Chen
0a832194d8 refactor: remove slice feature
enable by default
2022-11-01 17:51:17 +08:00
Zixuan Chen
19b9772995 Merge branch 'main' into feat-wasm 2022-11-01 17:46:16 +08:00
Zixuan Chen
df1892bd4e refactor: merge reverse deletions
fix: counter span merge err
2022-11-01 17:16:11 +08:00
Zixuan Chen
0e56b861ed refactor: rename a few types 2022-11-01 12:14:02 +08:00
Zixuan Chen
d62fa09e99 refactor: only keep counter on op 2022-11-01 00:07:24 +08:00
Zixuan Chen
6e03c9c04b refactor: extract remote op 2022-10-31 23:50:00 +08:00
Zixuan Chen
3c03538e0e chore: cargo style fix 2022-10-31 22:37:29 +08:00
Zixuan Chen
c56c286d76 refactor: use isomorphic structure for sync/async 2022-10-31 22:37:29 +08:00
Zixuan Chen
ee8df9dd59 chore: cargo fix 2022-10-31 22:36:54 +08:00
Zixuan Chen
27c4b1ca2b refactor: remove change freeze field 2022-10-31 22:35:37 +08:00
Zixuan Chen
1e9d5769f3 fix: add debug info & reduce 40% mem usage 2022-10-31 21:42:19 +08:00
Zixuan Chen
9c35aa266c fix: reduce heap alloc 2022-10-31 20:40:39 +08:00
Zixuan Chen
8cfe9f2772 perf: reduce heap alloc 2022-10-31 20:06:56 +08:00
Zixuan Chen
43c28608c6 fix: reduce heap alloc 2022-10-31 19:27:13 +08:00
Zixuan Chen
5ce83d0188 refactor: make client id type can be switching 2022-10-31 17:32:05 +08:00
Zixuan Chen
261fb329ee test: add mem profiling 2022-10-31 17:21:06 +08:00
Zixuan Chen
22465a5e97 test: add B4 bench 2022-10-31 16:16:44 +08:00
Zixuan Chen
fa2db1be7e doc: add container desc 2022-10-31 12:37:20 +08:00
Zixuan Chen
9d48e5df88 refactor: fix type error 2022-10-31 12:33:44 +08:00
Zixuan Chen
e0a472fd1a feat: basic wasm interface 2022-10-31 12:22:07 +08:00
Zixuan Chen
3a0c00fdec fix: type err 2022-10-28 18:50:37 +08:00