diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2022-09-18 18:22:11 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-21 12:10:09 +0200 |
commit | d899df24826c268c764edb07c3a3ed3f2c90b253 (patch) | |
tree | b4f8300c71f65a554cde337648c9e6b35908517e /tests/shell/testcases/sets/dumps | |
parent | 91626261c9dfedbd1e8ff40959b453418ebc8fb6 (diff) |
segtree: refactor decomposition of closed intervals
Move the code in `interval_map_decompose` which adds a new closed
interval to the set into a separate function. In addition to the moving
of the code, there is one other change: `compound_expr_add` is called
once, after the main conditional, instead of being called in each
branch.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/sets/dumps')
0 files changed, 0 insertions, 0 deletions