|Do you know where your variables are?|
Re: Data Structuresby BrowserUk (Pope)
|on May 01, 2008 at 23:43 UTC||Need Help??|
That implies you intend to have 3 hashes, one for each of x, y & z. Parallel data structures are not (generally) a good idea as they can get out of sync and you're stuffed. Going by the line diagram, you'd be better off with something that allowed you to do:
That's assuming the the identifiers are names not numbers.
If they are numbers, or names of the form "line_003" and "station_12", (low, mostly sequential number postfixes ),
then you'd save some memory and be a tad quicker to use arrays instead of hashes:
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.