From: jrice@home.stpaul.msr.hp.com (Jim Rice)
Subject: Re: Most "crunch" for the dollar
Date: 24 Sep 1993 01:36:27 GMT [thread overview]
Message-ID: <27tiur$sqo@hpscit.sc.hp.com> (raw)
In-Reply-To: CDruHB.EBM@fc.hp.com
Channing Benson (chan@fc.hp.com) wrote:
: Hmmm. Have you ever heard of malloc?
: Or have I misunderstood your phrase "allocate the memory that could be
: used at the time of startup".
: -- Chan
I beleive this reference implies the allocation of memory for things like
arrays, etc (Think Fortran). Which could allocate memory before the
array is actually used, at the time of definition. The alternative is
to allocate at the time of usage. This can be a much more efficient use
of RAM if you are using a sparse matrix. However, you could crash the
program do to insufficient memory, although you defined it's usage much
earlier in the program (Bad if you are controlling a nuclear reactor ;-)
--
>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
| Jim Rice | Please, | HPDesk: Jim RICE /HPATC2 |
| Technical Consultant | Hassle Me | e-mail: jrice@stpaul.msr.hp.com |
| Hewlett Packard | | FAX: (612)641-9553 (also Telnet) |
| 2025 W. Larpenteur Ave.| I thrive | |
| St Paul, MN 55113 | on stress | voice: (612)649-4219 (also Telnet) |
>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
next prev parent reply other threads:[~1993-09-24 1:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-07 20:40 Most "crunch" for the dollar Michael Raynold Zika
1993-09-08 13:21 ` Gerald Cecil
1993-09-10 17:32 ` Allen Leibowitz
1993-09-10 22:00 ` Lezz Giles
1993-09-10 19:21 ` Robert Plamondon
1993-09-10 20:38 ` Allen Leibowitz
1993-09-13 0:34 ` Aaron Sloman
1993-09-14 14:27 ` Sean.Levy
1993-09-16 2:39 ` Art Stine
1993-09-21 10:22 ` Nick Watkins
1993-09-21 17:43 ` Gail L. Grant
1993-09-22 8:00 ` Adrie Koolen
1993-09-22 18:23 ` Gail L. Grant
1993-09-22 20:05 ` Channing Benson
1993-09-24 1:36 ` Jim Rice [this message]
1993-09-23 8:57 ` Adrie Koolen
1993-09-23 14:41 ` Robert Andrew Ryan
1993-09-23 15:59 ` Guy Helmer
1993-09-23 21:47 ` Eric D Osborne
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox