- or download this
for(0 .. $tf)
{
my $last=vec ($wektor, $index++, 32);
$pos{$docID}{$last}=$order;
}
- or download this
$pos{$docID}{vec($wektor, $index++, 32)}=$order for 0 .. $tf;
- or download this
$pos{$docID} ||= {};
my $did_ref = $pos{$docID};
$did_ref->{vec($wektor, $index++, 32)}=$order for 0 .. $tf;