Commit 8bbd4088 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a4c89eb7
......@@ -246,7 +246,7 @@ func (M *RangedMap) DelRange(r KeyRange) {
if M.entryv[ilo].Lo < r.Lo { // shrink left
M.entryv[ilo].Hi_ = r.Lo-1
ilo++
debugfRMap("\tshrink [%d] left\t-> %s\n", ilo, M)
debugfRMap("\tshrink [%d] left \t-> %s\n", ilo, M)
}
if r.Hi_ < M.entryv[jhi-1].Hi_ { // shrink right
M.entryv[jhi-1].Lo = r.Hi_+1
......
......@@ -248,7 +248,7 @@ func (M *_RangedMap_str) DelRange(r KeyRange) {
if M.entryv[ilo].Lo < r.Lo { // shrink left
M.entryv[ilo].Hi_ = r.Lo-1
ilo++
debugf_RangedMap_str("\tshrink [%d] left\t-> %s\n", ilo, M)
debugf_RangedMap_str("\tshrink [%d] left \t-> %s\n", ilo, M)
}
if r.Hi_ < M.entryv[jhi-1].Hi_ { // shrink right
M.entryv[jhi-1].Lo = r.Hi_+1
......
......@@ -248,7 +248,7 @@ func (M *_RangedMap_void) DelRange(r KeyRange) {
if M.entryv[ilo].Lo < r.Lo { // shrink left
M.entryv[ilo].Hi_ = r.Lo-1
ilo++
debugf_RangedMap_void("\tshrink [%d] left\t-> %s\n", ilo, M)
debugf_RangedMap_void("\tshrink [%d] left \t-> %s\n", ilo, M)
}
if r.Hi_ < M.entryv[jhi-1].Hi_ { // shrink right
M.entryv[jhi-1].Lo = r.Hi_+1
......
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