[CDBI] Make name_lc go fast

Perrin Harkins pharkins at gmail.com
Tue Apr 3 18:11:56 BST 2007


On 4/3/07, Brad Bowman <list at bereft.net> wrote:
> Rerunning with -r I get the opposite result, somehow not doing the lc
> makes things slower.

That's unexpected.  Your first profile looks about how I'd expect --
the I/O work done by the database takes the most time, followed by the
accessor methods, but only because there's so many calls to them.

Your second profile, I can't really explain.  It might be disk
caching, as Schwern pointed out.  I'd try it again and see if the
results are consistent.

- Perrin



More information about the ClassDBI mailing list