On Wed, Oct 26, 2005 at 10:46:49AM -0700, Earl Miles wrote:
> >Before you jump completely to C, you might try using the .at() function
> >to reference fields by index instead of by name. This removes the repeated
> >name lookup on each cycle of your loop.
> >
>
> The name lookups aren't what cause the slowdown (for me, at least) -- it's
> translating from a mysql row to a MySQL++ Row object that takes all the
> time.
Interesting. Looking at the code, there are about 3 objects, one of which
contain a vector of strings, involved in moving the data.
I think this goes back to that iterator optimization that I never got
around to. :-) There might have even been a patch floating around if
memory serves.
- Chris