Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!nntp-server.caltech.edu!toddpw From: toddpw@nntp-server.caltech.edu (Todd P. Whitesel) Newsgroups: comp.sys.apple2 Subject: Re: Any Pascal programmers for Apple II GS? Message-ID: <1991May14.021611.24457@nntp-server.caltech.edu> Date: 14 May 91 02:16:11 GMT References: <52823@apple.Apple.COM> Organization: California Institute of Technology, Pasadena Lines: 17 stadler@Apple.COM (Andy Stadler) writes: >And, since we're talking about Apple programming here, there's an alternative >to use of the "New" procedure - you can use the system memory manager. In >fact, I recommend that people NOT ever use the New/Dispose/Mark/Release suite; >because there's a pretty large of hunk of library code that gets linked in >to support them. Just stick with NewHandle and let the ROM do the work.... >(This generalization valid for IIgs AND Mac programming.) Hear, hear. I _never_ use the Orca/C malloc routines, I include my own that call NewHandle directly. free() is not that fast (it has to do a FindHandle) but well-written programs should avoid calling those routines often anyway. (If you really need allocation speed you should be allocating big chunks from the system and managing them yourself.) Todd Whitesel toddpw @ tybalt.caltech.edu