Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
87bcad49
Commit
87bcad49
authored
May 25, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6fe7bf33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
wcfs/internal/xbtree.py
wcfs/internal/xbtree.py
+8
-3
No files found.
wcfs/internal/xbtree.py
View file @
87bcad49
...
@@ -58,9 +58,9 @@ Topology encoding specification:
...
@@ -58,9 +58,9 @@ Topology encoding specification:
A Tree is encoded by level-order traversal, delimiting layers with "/".
A Tree is encoded by level-order traversal, delimiting layers with "/".
Inside a layer Tree and Bucket nodes are signalled as
Inside a layer Tree and Bucket nodes are signalled as
"T<keys>" ; Tree
"T<keys>"
; Tree
"B<keys>" ; Bucket with only keys
"B<keys>"
; Bucket with only keys
"B<keys+values>"; Bucket with keys and values
"B<keys+values>"
; Bucket with keys and values
Keys are represented as ","-delimited list of integers. For example Tree
Keys are represented as ","-delimited list of integers. For example Tree
or Bucket with [1,3,5] keys are represented as
or Bucket with [1,3,5] keys are represented as
...
@@ -73,6 +73,11 @@ example Bucket corresponding to {1:1, 2:4, 3:9} is represented as
...
@@ -73,6 +73,11 @@ example Bucket corresponding to {1:1, 2:4, 3:9} is represented as
"B1:1,2:4,3:9" ; Bucket([1,2,3], [1,4,9])
"B1:1,2:4,3:9" ; Bucket([1,2,3], [1,4,9])
Empty keys+values are represented as ":" - an empty Bucket for key->value
mapping is represented as
"B:" ; Bucket([], [])
Nodes inside one layer are delimited with "-". For example a layer consisting
Nodes inside one layer are delimited with "-". For example a layer consisting
of an empty Tree, a Tree with [1,3] keys, and Bucket with [4,5] keys is
of an empty Tree, a Tree with [1,3] keys, and Bucket with [4,5] keys is
represented as
represented as
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment