On Fri, 2008-07-25 at 07:01 -0400, Patrick Galbraith wrote:
> Stewart Smith wrote:
> > md5 and crc32 as UDFs
> >
> > BENCHMARK(4000000,md5('pants'))
> > before: 7seconds
> > after: 6.5seconds
> >
> > win :)
> >   
> >   
> Excellent - curious - what makes them faster? Did you clean up the code, 
> or is having them as UDFs inherently faster?

Instead of using our own MD5 implementation (in mysys), I'm using the
one in the SSL library (just linking to it).

I plan to do this for the other functions too, also to rework the
interface.
-- 
Stewart Smith ([EMAIL PROTECTED])
http://www.flamingspork.com/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to