Stephen Clouse <[EMAIL PROTECTED]> writes: > Long story, since our software is approaching 7 years old. Basically we have an > abstraction class that implements a database row (very analogous to Class::DBI, > but Class::DBI wasn't mature enough at the time I started writing this layer, > which was sometime in 1999). My original pure Perl implementation was abysmally
I am not familiar with Class::DBI, but it sounds like you construct an object for each row fetched and access it with method calls? Yes, that could probably get slow when done in pure Perl. Maybe you should look into calling DBI from your C layer. Perhaps if you can maintain the $dbh in Perl code and mostly call prepare(), execute() and fetchrow*() from the C layer it would be doable. perldoc perlcall might be a good start for what is possible. - Kristian.
