Re: [CDBI] Make name_lc go fast

"Perrin Harkins" <[email protected]> Tue, 3 Apr 2007 13:11:56 -0400
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On 4/3/07, Brad Bowman <[email protected]> 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