Optimize jabber_id_new()

Paul Aurich paul at darkrain42.org
Tue Jun 30 15:05:34 EDT 2009


On Jun 30, 2009, at 11:51, Mark Doliner wrote:
> I think these changes make sense.  I went with g_utf8_strdown()
> instead of g_ascii_strdown() because the former takes a length
> argument, and we want to dup and lowercase pieces of the string.  I'll
> check if g_utf8_strdown() is significantly more expensive, and if it
> is then maybe write our own g_ascii_strdown_len().

I think you might be confusing g_strdown with g_ascii_strdown, which has
the same type signature as g_utf8_strdown.

~Paul




More information about the Devel mailing list