Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!cernvax!chx400!ethz!neptune!a!mneerach From: mneerach@a.inf.ethz.ch (Matthias Ulrich Neeracher) Newsgroups: comp.sys.mac.programmer Subject: Re: Slow NewPtr on fx Message-ID: <7318@neptune.inf.ethz.ch> Date: 10 Sep 90 10:23:03 GMT References: <478@nih-csl.nih.gov> <33606@cup.portal.com> Sender: news@neptune.inf.ethz.ch Reply-To: mneerach@a.inf.ethz.ch (Matthias Ulrich Neeracher) Organization: Departement Informatik, ETH, Zurich Lines: 19 In article <33606@cup.portal.com> jwhitnell@cup.portal.com (Jerry D Whitnell) writes: > A technique I prefer for allocating large >chunks of fixed memory is to call NewHandle, followed by a MoveHHi and an >HLock. This puts the memory at the top of the heap where it is out of the >way. You may find this faster. ... or you may not. I have never done actual timing comparisons, but I often had the impression that MoveHHi can be quite slow, since it seems to compact more or less the whole heap. >Jerry Whitnell >SuperMac Technology Matthias ----- Matthias Neeracher mneerach@inf.ethz.ch "I wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me" -- Hunter S. Thompson