Re: Use PHP or MySQL for MD5 function

From: Date: Tue, 26 Aug 2003 02:35:36 +0000
Subject: Re: Use PHP or MySQL for MD5 function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-160714@lists.php.net to get a copy of this message
* Thus wrote Daevid Vincent (daevid@daevid.com): > > If you really care, just make a program like this and do some MD5() calls in > both mysql and php to see which is faster. I'd be curious to know as well... > You'll have to modify appropriately, and only do a single MD5 check because > I think looping 10000 mysql MD5 calls will be slower automatically since > there is the connection to the db and stuff to contend with, so keep that in > mind. > Another factor with this is the length of the data is for md5(). If the data is really long there will be communication overhead, with md5'ing with php. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#160714) next »