Path: utzoo!attcan!uunet!lll-winken!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!adm!lhc!nih-csl!helix.nih.gov!wayne From: wayne@helix.nih.gov (Wayne Rasband) Newsgroups: comp.sys.mac.programmer Subject: Slow NewPtr on fx Message-ID: <478@nih-csl.nih.gov> Date: 4 Sep 90 14:12:05 GMT Sender: news@nih-csl.nih.gov Organization: NIH Lines: 10 After upgrading my cx to an fx, I noticed a curious phenomenon with the public domain image processing program(NIH Image) I'm developing: it was taking much longer to open a large number of windows. On the cx, Image can open 50 256x256 MRI Scans in 24 seconds, but on the fx, it takes 135 seconds. After putting in some debugging code, I discovered that the NewPtr call used to allocate the 64K PixMap for each window was taking about 1/4 second on the cx, and an incredible five seconds(!!!) on the fx. Does someone know why NewPtr is up to 20 times slower on the fx? Wayne Rasband (wayne@helix.nih.gov)