maillog: 24/04/2005-11:00:54(+0200): Jan Kundrát types > 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.
Don't be surprised. The exactly same explanation is at the bugreport that you linked to in your last e-mail. I don't know if it is a php dev who made it, but the address is @php.net. Here is the exact text: [23 Dec 2004 7:06pm CET] [EMAIL PROTECTED] This is a non issue, the code avoids touching the mask if there is nothing to change in it. > 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 -- () Georgi Georgiev () * Knghtktty is not going to ask how () () [EMAIL PROTECTED] () zucchini got into the discussion ... () () +81(90)6266-1163 () ()
pgpw5ogz8x5Th.pgp
Description: PGP signature