From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,b99fa0452d65d12 X-Google-Attributes: gidf4671,public X-Google-Thread: 114b0c,b99fa0452d65d12 X-Google-Attributes: gid114b0c,public X-Google-Thread: 1164f8,b99fa0452d65d12 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-09-23 19:34:46 PST Xref: gmd.de comp.sys.sun.hardware:12119 comp.sys.hp:24981 comp.sys.dec:10318 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!hpscit.sc.hp.com!jrice From: jrice@home.stpaul.msr.hp.com (Jim Rice) Newsgroups: comp.sys.sun.hardware,comp.sys.hp,comp.sys.dec Subject: Re: Most "crunch" for the dollar Date: 24 Sep 1993 01:36:27 GMT Organization: Hewlett Packard Santa Clara Site Message-ID: <27tiur$sqo@hpscit.sc.hp.com> References: <27q56q$sh0@usenet.pa.dec.com> NNTP-Posting-Host: 15.31.42.90 X-Newsreader: TIN [version 1.2 PL0.11] 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) | >>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<