Commit 6737565f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9b07c26c
...@@ -737,10 +737,14 @@ _ = K ...@@ -737,10 +737,14 @@ _ = K
testv := []interface{} { testv := []interface{} {
"T/B:", "T/B:",
Δ("T/B1:a", A{}), // +1 XXX Δ("T/B1:a", // +1
//Δ("T/B1:a", A{oo: K(1)}) // +1 A{1: K(), oo: K(1)}),
Δ("T/B1:a,2:b", // +2
A{1: K(1,2),
2: K(1,2),
oo: K(1,2)}),
"T/B1:a,2:b", // +2
"T/B2:b", // -1 "T/B2:b", // -1
"T/B2:c", // 2: b->c "T/B2:c", // 2: b->c
"T2/B1:a-B2:c", // +1 in new bucket (to the left) "T2/B1:a-B2:c", // +1 in new bucket (to the left)
...@@ -1023,6 +1027,7 @@ func xkvFlatten(xkv RBucketSet) map[Key]string { ...@@ -1023,6 +1027,7 @@ func xkvFlatten(xkv RBucketSet) map[Key]string {
} }
// easies debugging
func (ks SetKey) String() string { func (ks SetKey) String() string {
keyv := ks.Elements() keyv := ks.Elements()
sort.Slice(keyv, func(i, j int) bool { sort.Slice(keyv, func(i, j int) bool {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment