Re: [PATCH 2/4] line-log: adjust start/end of ranges individually
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 5, 2018, 10:57 UTC
- Message-ID
- <CAPig+cSon7opZ-pOZT-6O31upD5pRGhaz7-1xDuT6R5VrL54ng@mail.gmail.com>
- In-Reply-To
- <CAPig+cRWcFVbA76_HT2iVD16bsUmbWdCgk_07rmiGneM5czdOQ@mail.gmail.com>
On Sun, Aug 5, 2018 at 6:14 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
> Having said that, a much easier fix is to use > range_set_append_unsafe() here, and then at the bottom of the loop, > invoke 'sort_and_merge_range_set(out)' to restore range-set invariants
By "bottom", I meant "outside" or "after":
...and then invoke sort_and_merge_range_set()
after the loop to restore range-set invariants.