Skip to content

textlayout: remove use of GtkTextIter in line comparison

Christian Hergert requested to merge wip/chergert/faster-comparison into master

We do not need to create a GtkTextIter to perform the comparison here as that will require a number of validation steps that are extra work compared to just discovering the GtkTextLine number directly.

This is just a quick performance improvement, saving about .5-1.5% on a Sysprof profile while I do the GtkSourceView port.

Merge request reports