summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-11 15:35:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-11 16:41:42 -0400
commitc09575d9cb868879f5b238cb2e2023213b94e7db (patch)
tree299b7a45534cbc934f1ad57ca85c6d928389debe /.clang-format
parent2e5481093743e0ce26cf9634d830cb4032b390d8 (diff)
downloadgtk+-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