Commit graph

10 commits

Author SHA1 Message Date
Christian Dywan b1ee80d55e Implement katze_utf8_stristr, katze_collfold and use in completion
Evidently normalizing any whole string is too slow for completion,
so we need to even out case and composition while iterating through
the strings.

The decompositing version of katze_utf8_stristr is disabled, since
it is too slow, and an ascii only version is used, for now.

A unit test 'compare' is added that solely measures performance of
katze_collfold and katze_utf8_stristr.
2009-12-28 23:59:54 +01:00
Christian Dywan 8fd2713132 Initialize threading in completion test since location uses libsoup 2009-06-01 06:41:57 +02:00
Christian Dywan 964bcd0c1c Adjust completion test after modifying the location entry 2009-05-17 16:55:02 +02:00
Christian Dywan a324cad92a Using non-utf8 strlen for titles in completion should suffice 2009-04-13 22:43:07 +02:00
Christian Dywan 43feec8b3d Optimize location completion based on profiling
The test was modified slightly because we are not filtering
out trailing slahses anymore. We are not quite there still
when it comes to treating URIs as we should but for all
practical purposes it should be quite a bit faster.
The most annoying shortcoming still is that umlauts or any
special characters won't match at all.
2009-03-31 22:24:18 +02:00
Christian Dywan 5eab5f5bda Drop Glib version guards from unit tests 2009-03-16 01:30:40 +01:00
Christian Dywan d9cc5a6592 Run tests without requiring a display 2009-02-19 02:28:52 +01:00
Christian Dywan 95e629679b Decrease the completion test items slightly 2009-02-19 02:10:02 +01:00
Christian Dywan c0c4d6f1cb Tweak the completion test and add a 'match' test case 2009-02-09 21:43:08 +01:00
Christian Dywan cd2700ff0d Add a completion test 2009-02-06 03:00:14 +01:00