develooper Front page | perl.beginners | Postings from April 2003

RE: Speed of objects

Thread Previous | Thread Next
From:
Kipp, James
Date:
April 24, 2003 04:57
Subject:
RE: Speed of objects
Message ID:
EC6C49DE5C846143AA2CE580420E77C331DAB7@xexwlm05.mbnainternational.com
 
> I'm writing some perl to take data from one database and put it into
> another (the tables are structured differently so that's why 
> I need the
> perl!).
> 
> The database is VERY large and so speed is reasonably important.
> 
> In the program there's a lot of jumping from subroutine to subroutine.
> Thing is, I'm passing a long argument list each time made up of:
>     a large hash (well, ref to), two database refs, and four or five
> strings.
> 
> I was thinking of making an object which holds all of this information
> but was wondering whether passing around the object, and more
> importantly accessing the things in the object is going to 
> slow down the
> program.
> 
> I know it was all a bit vague but any suggestions/help would be really
> appreciated.

Hi Pat
You might want to post this question to the dbi list. I don't think you need
to write your own OOP stuff. The DBI module should be all that you need.
What DB are you using. If it is ORacle, and you are trying to import data
from one DB to another, there some Oracle tools that would be faster then
DBI/perl.

HTH
Jim
 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About