in reply to Re: Fast Matrix Load
in thread Fast Matrix Load
Okay dvergin? I know it sucks--I'm having to load the data twice essentially, passing it once into a temporary array. Suggestions would be very very appreciated. Apologies for not giving you my code. Sorry sorry sorry. Your good acolyte, Evanmy @matrix; my @profile; open PROFILES, "profile/profile.db" or die "$!"; while (<PROFILES>) { @profile = split (/\t/, $_); while ($i <= $#profile) { $matrix[$j]->[$i] = $profile[$i]; $j++; } $i++; $j = 0; }
Moved end-code tag 2002-02-16 dvergin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Fast Matrix Load
by Anonymous Monk on Feb 17, 2002 at 03:32 UTC | |
by tachyon (Chancellor) on Feb 17, 2002 at 13:51 UTC |