Andrew, It's true that "the time you use in coding and figuring out ways to make PHP faster would be greater than..."
The task mentioned might be a "one-off thing" NOW. However, the techniques that we can learn can also be applied in future task, so, I'm still interested in the answer to the original question... - E > >I don't know any good ways of making PHP go faster, but may I suggest that >the time you use in coding and figuring out ways to make PHP faster would be >greater than the time you have saved by using such features... > >If this is a one of thing I think 30minutes is better than 15minutes plus >60minutes of code changes/tweaks.. > >Just my 2c >Andrew >----- Original Message ----- >From: "Jean-Christian Imbeault" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, August 13, 2002 4:39 AM >Subject: [PHP] Making PHP faster? > > > > I'm using PHP to load data into a PostgresQL database. The script works > > fine but it is a bit slow. It's taking about 30 minutes to load about > > 15,000 items. This is mainly because of all the error checking and many > > redundant queries I am running. > > > > This program is a one-off thing. > > > > Are there any simple ways for me to make PHP run faster? I'm already > > using persistent DB connections. I was thinking along the lines > > increasing it's memory usage, turning off error checking, getting it to > > optimize the code on the fly, etc ...? > > > > Thanks! > > > > Jc > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php _________________________________________________________________ 最新のファイナンス情報とライフプランのアドバイス MSN マネー http://money.msn.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php