D. Wokan wrote:
> Actually, I can understand avoiding unnecessary bit flipping.  I've done
> that in databases on occasion.  I'll write a SQL statement that checks
> if there are matching records for an update instead of just executing a
> statement that makes changes to those matching records.  Depending on
> the likelihood of changes and the number of records to be changed, it
> was sometimes faster to pre-qualify an update instead of just doing it
> when it wasn't going to find any matches.

Yep, but we're talking about C code, not about SQL queries. I'd of
course accept this explanation if it came from PHP devs at bugzilla, but
they didn't bother, which made me a bit surprised.

And BTW, talking about speed - setting open_basedir is quite common
among webhosters, so I think the code suggested in that bugreport will
be faster in most cases.

-jkt

-- 
cd /local/pub && more beer > /dev/mouth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to