in reply to Iterating through Two Arrays. Is there a better use of memory?
The fastest is using a hash. For very structured data you might in a few cases find slightly faster methods, but really, nothing normally beats hashes in this discipline.
But please be more specific: You talk about string lengths, but you show us arrays. Strings are not arrays outside of the C language. And qw() does produce arrays, not strings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Iterating through Two Arrays. Is there a better use of memory?
by Jeri (Scribe) on Oct 13, 2011 at 17:10 UTC | |
by davido (Cardinal) on Oct 13, 2011 at 17:30 UTC | |
by DentArthurDent (Monk) on Oct 13, 2011 at 17:29 UTC | |
by Jeri (Scribe) on Oct 13, 2011 at 17:32 UTC |