Commit 6342560d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cf3511fb
...@@ -25,8 +25,8 @@ import ( ...@@ -25,8 +25,8 @@ import (
"sort" "sort"
) )
const traceRangeMap = true const traceRangeMap = false
const debugRangeMap = true const debugRangeMap = false
// RangedMap is Key->VALUE map with adjacent keys mapped to the same value coalesced into Ranges. // RangedMap is Key->VALUE map with adjacent keys mapped to the same value coalesced into Ranges.
// //
......
...@@ -81,7 +81,7 @@ func TestRangedMap(t *testing.T) { ...@@ -81,7 +81,7 @@ func TestRangedMap(t *testing.T) {
// X creates RangedMapEntry{v, [lo,hi)} // X creates RangedMapEntry{v, [lo,hi)}
X := func(lo,hi Key, v string) RangedMapEntry { X := func(lo,hi Key, v string) RangedMapEntry {
hi_ := hi hi_ := hi
if hi_ != noo { if hi_ != oo {
hi_-- hi_--
} }
return RangedMapEntry{v, KeyRange{lo, hi_}} return RangedMapEntry{v, KeyRange{lo, hi_}}
......
...@@ -27,8 +27,8 @@ import ( ...@@ -27,8 +27,8 @@ import (
"sort" "sort"
) )
const trace_RangedMap_str = true const trace_RangedMap_str = false
const debug_RangedMap_str = true const debug_RangedMap_str = false
// _RangedMap_str is Key->string map with adjacent keys mapped to the same value coalesced into Ranges. // _RangedMap_str is Key->string map with adjacent keys mapped to the same value coalesced into Ranges.
// //
......
...@@ -27,8 +27,8 @@ import ( ...@@ -27,8 +27,8 @@ import (
"sort" "sort"
) )
const trace_RangedMap_void = true const trace_RangedMap_void = false
const debug_RangedMap_void = true const debug_RangedMap_void = false
// _RangedMap_void is Key->void map with adjacent keys mapped to the same value coalesced into Ranges. // _RangedMap_void is Key->void map with adjacent keys mapped to the same value coalesced into Ranges.
// //
......
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