@loro-dev/flock 4.4.1 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/_moon_flock.ts +1229 -1660
- package/src/index.ts +12 -2
package/dist/index.d.mts
CHANGED
|
@@ -158,8 +158,15 @@ declare class Flock {
|
|
|
158
158
|
merge(other: Flock): void;
|
|
159
159
|
/**
|
|
160
160
|
* Returns the exclusive version vector, which only includes peers that have
|
|
161
|
-
* at least one entry in the current state.
|
|
162
|
-
*
|
|
161
|
+
* at least one entry in the current state.
|
|
162
|
+
*
|
|
163
|
+
* Complexity: O(M + V log M + R (log L + log S)).
|
|
164
|
+
* - M = memtablePeerCount
|
|
165
|
+
* - V = vvPeerCount
|
|
166
|
+
* - L = memtableLen
|
|
167
|
+
* - R = scanned candidate rows in KV_BY_PEER_CLOCK
|
|
168
|
+
* - S = storage key count in KV_BY_KEY
|
|
169
|
+
* No full O(memtableSize) pre-scan is performed.
|
|
163
170
|
*
|
|
164
171
|
* Use this version when sending to other peers for incremental sync.
|
|
165
172
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -158,8 +158,15 @@ declare class Flock {
|
|
|
158
158
|
merge(other: Flock): void;
|
|
159
159
|
/**
|
|
160
160
|
* Returns the exclusive version vector, which only includes peers that have
|
|
161
|
-
* at least one entry in the current state.
|
|
162
|
-
*
|
|
161
|
+
* at least one entry in the current state.
|
|
162
|
+
*
|
|
163
|
+
* Complexity: O(M + V log M + R (log L + log S)).
|
|
164
|
+
* - M = memtablePeerCount
|
|
165
|
+
* - V = vvPeerCount
|
|
166
|
+
* - L = memtableLen
|
|
167
|
+
* - R = scanned candidate rows in KV_BY_PEER_CLOCK
|
|
168
|
+
* - S = storage key count in KV_BY_KEY
|
|
169
|
+
* No full O(memtableSize) pre-scan is performed.
|
|
163
170
|
*
|
|
164
171
|
* Use this version when sending to other peers for incremental sync.
|
|
165
172
|
*/
|