in reply to Re: Fast data structure..!!!
in thread Fast data structure..!!!
my $docID=0; my $tf=0; my $index=0; my $Aa=time(); for(1 .. 2000000) { $docID = vec ($dp, $index++, 32); $tf = vec ($dp, $index++, 32); $ TERM FREQUENCY $vec{$docID}=$tf; ### SAve Data for(1 .. $tf) { my $poss=vec ($dp, $index++, 32); $pos{$docID}{$poss}=\$order;# save Data } } print "unpack vector in \t",time()-$Aa," secs...\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Fast data structure..!!!
by moritz (Cardinal) on Apr 15, 2008 at 15:53 UTC | |
by kyle (Abbot) on Apr 15, 2008 at 16:22 UTC | |
by moritz (Cardinal) on Apr 15, 2008 at 16:26 UTC | |
by MimisIVI (Acolyte) on Apr 15, 2008 at 16:33 UTC | |
by moritz (Cardinal) on Apr 15, 2008 at 16:37 UTC | |
| |
Re^3: Fast data structure..!!!
by dvryaboy (Sexton) on Apr 15, 2008 at 16:21 UTC | |
Re^3: Fast data structure..!!!
by kyle (Abbot) on Apr 15, 2008 at 16:26 UTC | |
by MimisIVI (Acolyte) on Apr 15, 2008 at 16:40 UTC | |
by moritz (Cardinal) on Apr 15, 2008 at 16:59 UTC | |
by kyle (Abbot) on Apr 15, 2008 at 17:03 UTC | |
by MimisIVI (Acolyte) on Apr 15, 2008 at 17:40 UTC |