in reply to Re^2: makeing refering faster ?
in thread makeing refering faster ?
So, to clarify, here is the logical structure of the @temp array:my %referencedSentences = (); foreach my $j (@{$words[$i]}) { if (($j ne "$j") || ($j ne "v")) { if (exists $sentences->{$j}) { %referencedSentences{%j} = $sentences->{$j}; } } } push (@temp, \%referencedSentences);
my @list; foreach my $refToIndicesArray (values %{$hash}) { push (@list, @{$refToIndicesArray}); }
|
|---|