diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-11 15:35:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-11 16:41:42 -0400 |
commit | c09575d9cb868879f5b238cb2e2023213b94e7db (patch) | |
tree | 299b7a45534cbc934f1ad57ca85c6d928389debe /.clang-format | |
parent | 2e5481093743e0ce26cf9634d830cb4032b390d8 (diff) | |
download | gtk+-text-layout-speedup.tar.gz |
textlayout: Avoid some iter comparisonstext-layout-speedup
We were doing more iter comparisons than necessary in the
inner loop of gtk_text_layout_snapshot(), in the presence
of a selection. Rewrite the code to compare line numbers
instead, which is faster than full iter comparisons.
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions