Re: benefits of dimensioned array over dynamic
- From: Joe <drinks@xxxxxxx>
- Date: Thu, 28 Jun 2007 21:51:57 GMT
"Frank Winans" <fwinans@xxxxxxxxxxxxx> wrote in
news:1387ol73alunj3e@xxxxxxxxxxxxxxxxxx:
"Joe" wrote
yacadoo wrote
Should I switch
to using a work file if my dynamic array gets over X number of
attribute marks long or X number of bytes?
One other option you might consider: Change the dynamic array to a
dimensioned array. Some environments allow you to dimension on the
fly (i.e., MAX = 200; DIM D.ARRAY(MAX)).
I most wholeheartedly agree; it is most gratifying how much faster an
app runs when you quit using dynamic arrays that you tend to find
growing beyond, say, 100 kb or 1 mb.
Indeed. The entire dynamic array is a single variable whereas each
element of a dimensioned array is a single variable.
.
- Follow-Ups:
- Re: benefits of dimensioned array over dynamic
- From: Ed Sheehan
- Re: benefits of dimensioned array over dynamic
- References:
- When should I switch from a dynamic array to a work file?
- From: yacadoo
- Re: When should I switch from a dynamic array to a work file?
- From: Joe
- benefits of dimensioned array over dynamic
- From: Frank Winans
- When should I switch from a dynamic array to a work file?
- Prev by Date: Re: D3 Linux Tape FILE-SAVE Trouble
- Next by Date: Re: benefits of dimensioned array over dynamic
- Previous by thread: benefits of dimensioned array over dynamic
- Next by thread: Re: benefits of dimensioned array over dynamic
- Index(es):
Relevant Pages
|
|