aboutsummaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-28 08:45:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-28 08:45:30 +0000
commit5158be86d2a1be657260c3283548e9fde17ddd7f (patch)
tree40e2630583ff66148e04cbcfe2844240dfedb846 /.gitmodules
parentsixel: insert: calculate end rows in a single statement (diff)
render: sixels: break out of loop when we're sure there aren't any more visible images
The sixel list is sorted, with the most recent images *first* in the list (and thus the "oldest" images are at the back). This means we can break out of the loop when we see a sixel that *ends before* the current view starts. As a minor optimization, we also recognize sixels that *start after* the current view ends. We can't break out of the loop, but we can skip trying to render them (they wouldn't have been rendered, but more work would have been done in render_sixel() to reach this conclusion).
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions