Re: Perl hashing speedup ?
- From: "sujit" <sujitkumar.bade@xxxxxxxxx>
- Date: 5 Sep 2006 21:27:39 -0700
Hi,
Randy wrote:
Is it necessary to load all the data in memory at once? What operations
do you need to perform on the data?
Yes, For me it is necessary to load all data. I need to access this
data in indexed fashion. That is the reason why I am using hash.
I also tried storing data in DBM file using MLDBM package but it is
taking too much time, so I tried constructing hash in memory to see how
much time it takes. The stats mentioned in my first mail are for in
memory construction of this hash.
Thanks,
Sujit
Randy W. Sims wrote:
sujit wrote:.
Hi,
This is regarding perl hashing. I am creating a 3 level hash (actually
2 such hashes at a time) with approx. 2.6 million entries.
Regarding length of each key;
Level 1 key length - Approx 40 chars
Level 2 Key length - Approx 12 chars
Level 3 key length - Approx 40 chars
Now this hash creation process itself is taking around 3.5 to 4 hrs for
me.
Is it necessary to load all the data in memory at once? What operations
do you need to perform on the data?
Randy.
- Follow-Ups:
- Re: Perl hashing speedup ?
- From: Randy W. Sims
- Re: Perl hashing speedup ?
- References:
- Perl hashing speedup ?
- From: sujit
- Re: Perl hashing speedup ?
- From: Randy W. Sims
- Perl hashing speedup ?
- Prev by Date: Re: Perl hashing speedup ?
- Next by Date: Re: Perl hashing speedup ?
- Previous by thread: Re: Perl hashing speedup ?
- Next by thread: Re: Perl hashing speedup ?
- Index(es):
Relevant Pages
|
Loading