gtk2/testsuite
Emmanuele Bassi e259b2f30d Avoid O(n²) walking of string arrays
"Yo, we heard you like traversing NULL-terminated arrays to operate on
them, so we called g_strv_length() as the for condition, so you can
iterate the array while iterating the array."

Instead of making famed rapper and television producer Xzibit proud, we
should avoid calling g_strv_length() on an array while looping on the
array, to avoid quadratic complexity.

We do this in various places that deal with arrays of strings that we
cannot really guess are short enough not to matter — e.g. the list of
CSS selectors in the inspector, or the required authentication
information for printing.
2015-07-16 16:19:55 +01:00
..
a11y Avoid O(n²) walking of string arrays 2015-07-16 16:19:55 +01:00
css testsuite: Fix test that was committed in a broken state 2014-12-01 04:05:44 +01:00
gdk gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01:00
gtk testsuite: add a test for non-square symbolic icons 2015-06-12 08:55:23 -07:00
reftests label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
tools Dist the gtk-builder-tool test script 2015-05-26 14:58:15 -04:00
Makefile.am gtk-builder-tool: Add some tests 2015-05-02 17:39:06 -04:00