Re: cvs: php-src /ext/standard dl.c

From: Date: Thu, 13 Sep 2007 16:58:09 +0000
Subject: Re: cvs: php-src /ext/standard dl.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46158@lists.php.net to get a copy of this message
Wouldn't something with strcspn and a string build form '/' and DEFAULT_SLASH be faster?
Not sure. I would rather use strpbrk, though I'm not sure how easy is to actually build that string from macros. But dl() is anyway not the shining star of performance, so saving a dozen of CPU cycles while we are going to spend thousands on loading new module wasn't a big priority. But you may fix it if you feel it's worth it :) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.cvs (#46158) next »