Slashcode Log In
New DBI claims big speed improvements
posted by Krow on 07:04 AM June 15th, 2002
A new version of the DBI module (1.26) has been released. As stated in the Changelog the big news in this release are the C implementations of selectrow_arrayref() and fetchall_arrayref(). All compiled drivers using Driver.xst will now be faster making those calls. Most noticable with fetchall_arrayref for many rows or selectrow_arrayref with a fast query. For example, using DBD::mysql a selectrow_arrayref for a single row using a primary key is ~20% faster, and fetchall_arrayref for 20000 rows is twice as fast! Drivers just need to be recompiled and reinstalled to enable it.
Is it gonna to (positively) affect Slash? I believe there are a lot of selectrow_arrayref in the code.