note 40906 deleted from function.uniqid by nlopess

From: Date: Thu, 18 Mar 2004 17:12:20 +0000
Subject: note 40906 deleted from function.uniqid by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67030@lists.php.net to get a copy of this message
Note Submitter: johnkarl@nbnet.nb.ca ---- A warning about uniqid! I was at one point using uniqid in the DOMIT! xml parser to generate unique ids for each node that was added to a DOM document. But after running benchmarks on some different machines, I discovered that on machines with Celeron processors, uniquid was horrendously slow. Here's one example: Parse time for a 4k xml file: Non-Celeron processor - ~0.2 seconds Celeron processor - ~3.5 seconds

« previous php.notes (#67030) next »