Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!gem.mps.ohio-state.edu!apple!bloom-beacon!spdcc!ima!haddock!suitti From: suitti@haddock.ima.isc.com (Stephen Uitti) Newsgroups: comp.sys.mac Subject: Re: Programming on Mac with large data Message-ID: <14853@haddock.ima.isc.com> Date: 9 Oct 89 22:04:47 GMT Reply-To: suitti@haddock.ima.isc.com (Stephen Uitti) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 20 In article <1989Oct5.035739.4374@ccu.umanitoba.ca> rahardj@ccu.UManitoba.CA (Budi Rahardjo) writes: >Hi, I'm going to start programming on Mac (probably SE). >I have large data (300 KBytes) and I want to do some calculation >on it. The problem is my program might be around 200 KBytes, >and I need the data in the memory all the time (to make >computation fast !). >Any sugestion what kind of Compiler should I use ? >TC 4.0 ? I have a Mac II with 2 MB RAM. I have written and run a program that needed a half megabyte array. I used LSC 3.0 & mlalloc(). It worked fine. I had a little trouble with the declaration of mlalloc() originally - it had something to do with (void). I don't have LSC 4.0 (yet?), but doubt that this would be broken. I recall not being able to debug the program with the array at its largest, but the debugger was extremely useful with a reduced array. RAM is cheaper again, and i'm looking at expanding my Mac to 5 MB. BTW, the program had a runtime of about a half hour. Not your typical Mac program. Stephen.