Without a test how can you know if this implementation produces the correct values? What about variant type conversions? It seems silly to send a patch without testing it...
I just saw that I submitted a patch with some debug code in it. I guess I'll have to send it again anyway :)
bye Fabi