in reply to Re: Data structure advice
in thread Data structure advice
Thanks for the replies.
In this particular case, I define "best" as "quickest lookup" as there are only 48 values per day (I am processing each data separately) and I will be doing the lookup approx. 8000 times per day.
I'd like to do the lookup something like this: my $pressure = get_pressure("2003-10-12 16:09:06"); Where $pressure is set to the most recent pressure value prior to "2003-10-12 16:09:06"
I am prefectly capable of writing a function that searches through a list of values to return the required value. I was hoping that there would be a nice perl trick to save me the bother!!!
R.
--
Robin Bowes | http://robinbowes.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Data structure advice
by dragonchild (Archbishop) on Jan 05, 2004 at 15:17 UTC | |
by robinbowes (Beadle) on Jan 05, 2004 at 15:25 UTC | |
|
Re: Re: Re: Data structure advice
by duff (Parson) on Jan 05, 2004 at 15:28 UTC | |
by robinbowes (Beadle) on Jan 05, 2004 at 15:33 UTC | |
|
Re: Data structure advice
by Abigail-II (Bishop) on Jan 05, 2004 at 16:16 UTC | |
by duff (Parson) on Jan 05, 2004 at 20:02 UTC | |
by Abigail-II (Bishop) on Jan 05, 2004 at 20:55 UTC |