Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

New DBI claims big speed improvements

posted by Krow on 07:04 AM June 15th, 2002   Printer-friendly   Email story
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.

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Well, I think 1.28 of it is the current version. It does work with Slash, but I don't really see any speed increases.
    --

    --
    It's either on the beat or off the beat, it's that easy.