Re: writing at the end of the lines
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Fri, 25 Nov 2005 08:38:11 -0800
Only one small comment I have to add.
Kamaraju Kusumanchi <kk288@xxxxxxxxxxx> wrote:
> Now due to the size of the arrays and the large number of time steps
> required etc., it is not an option to store all the data
I urge you to think a little more along this line to make sure that you
have accurately evaluated whether this is an option. Memory tends to be
larger than it used to be (by quite a lot), and virtual memory helps
too. I have seen several people spend a lot of time worrying about
amounts of memory that aren't worth the trouble. While one certainly
does want to think about resource requirements, one also needs to
have a realistic evaluation of teh cost of the resource versus, for
example, the cost of programmer time.
You mentioned what I interpreted as on the order of 1000 points of x. If
you have only about 1000 points of time, that would be only an array of
about a million elements. You could plausibly go quite a bit larger than
that without running into a lot of trouble on todays machines.
It may be that you are correct that it isn't an option for you, but I
just wanted to make sure that you hadn't dismissed the possibility too
rapidly, without thinking through the numbers - I've seen people do
that.
And if you can't store the whole file, another possibility is to block
the problem. Store as big a chunk as you reasonably can, which
would certainly be a lot more than one time frame, even if it is less
than all of them.
....
> When I write the output of this program on to a file the output looks
> something like this:
>
> time x_1 x_2 x_3 x_4 ..... x_m
> t_0
> t_1
> t_2
> .
> .
That's real typical organization for time series data.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- writing at the end of the lines
- From: Kamaraju Kusumanchi
- Re: writing at the end of the lines
- From: Richard Maine
- Re: writing at the end of the lines
- From: Kamaraju Kusumanchi
- writing at the end of the lines
- Prev by Date: Re: programming GUIs
- Next by Date: Re: programming GUIs
- Previous by thread: Re: writing at the end of the lines
- Next by thread: Re: writing at the end of the lines
- Index(es):
Relevant Pages
|
Loading