Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!seismo!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: net.lang.c Subject: Re: The cost of large uninitialized static/global arrays Message-ID: <5023@ut-sally.UUCP> Date: Thu, 29-May-86 10:31:59 EDT Article-I.D.: ut-sally.5023 Posted: Thu May 29 10:31:59 1986 Date-Received: Sat, 31-May-86 05:08:11 EDT References: <2810@utcsri.UUCP> <842@hoptoad.uucp> Distribution: net Organization: U. Texas CS Dept., Austin, Texas Lines: 17 In article <842@hoptoad.uucp>, farren@hoptoad.uucp (Mike Farren) writes: > In article <2810@utcsri.UUCP> petera@utcsri.UUCP (Smith) writes: > << A whole lot about executables in MS-DOS which have vast numbers of > zeros embedded in the file >> > > If you're using Microsoft C, or the Microsoft Macro Assembler, you > might like to look at the EXEPACK utility [...] If you're using Microsoft C you don't get global arrays full of nulls anyway. I have a program with a global array of 20000 characters plus a lot of code. The executable is 10K in size. -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU