Skip to content
Commit f524b60b authored by Christian Hergert's avatar Christian Hergert 💬
Browse files

gutterrendererlines: don't use division to calculate number of digits

Avoid looping division to count digits. Not huge gains or anything, but
common to avoid loop+division in general. ~25% faster for numbers into
1000s.

https://bugzilla.gnome.org/show_bug.cgi?id=765356
parent f8c057ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment