aboutsummaryrefslogtreecommitdiff
path: root/tokenize.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-15 09:40:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-15 09:40:39 +0000
commit0d6abf15150828aa844c7371ec3fa7ba809233b1 (patch)
tree3b5e39a69eef932fb2856d91bdff06662c6572f9 /tokenize.h
parentrender: set tracking point count to 0 if there’s no active selection (diff)
grid: reflow: use a sorted array for tracking points
Instead of iterating a linked list of tracking points, for *each and every* cell in the old grid, use a sorted array. This allows us to step through the array of tracking points as we walk the old grid; each time we match a tracking point, we move to the next one. This means we only have to check a single tracking point for each cell.
Diffstat (limited to 'tokenize.h')
0 files changed, 0 insertions, 0 deletions