Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!fernwood!portal!cup.portal.com!MacUserLabs From: MacUserLabs@cup.portal.com (Stephan - Somogyi) Newsgroups: comp.sys.mac.programmer Subject: Re: Can I count on any alignment from NewHandle or NewPtr? Message-ID: <40418@cup.portal.com> Date: 21 Mar 91 17:47:24 GMT References: <23706@well.sf.ca.us> <1991Mar20.231935.27113@eng.umd.edu> <50569@apple.Apple.COM> <1991Mar21.042326.947@neon.Stanford.EDU> Organization: The Portal System (TM) Lines: 14 >I presume the original question was to determine if it was legal to >use longword moves, beginning at the origin of the block. The issue for me was whether my data structures would be longword aligned or not, since longword-aligned data is sucked in faster on 020s and 030s. The answer ended up being "heap blocks are longword aligned on CPUs where it makes a difference." My thanks to the people who are responsible for the Memory Manager behaving this way. ______________________________________________________________________ Stephan Somogyi 1/8 of the world's population, 2/3 of the lawyers MacUser