Re: AltiVec on OSX in Cocoa
Re: AltiVec on OSX in Cocoa
- Subject: Re: AltiVec on OSX in Cocoa
- From: Jake <email@hidden>
- Date: Sun, 11 Nov 2001 10:10:50 -0500 (EST)
>
You know, the Performance documentation I was reading the other day
>
states that the standard malloc always allocates memory on the heap
>
aligned to 16-byte boundaries. It might be worth just trying with
>
standard malloc first.
>
>
See /Developer/Documentation/Essentials/Performance/Performace.pdf, p22
>
(Understanding Malloc):
>
>
... The granularity of the blocks malloc returns is 16 bytes. So if you
>
ask for 4 bytes, malloc consumes 16 bytes, and if you ask for 24 bytes,
>
malloc will consume 32 bytes. ...
that is GREAT! no wonder when I tried running the malloc adjustment code
posted previously 10,000 times, everytime it returned memory on the right
alignment.
jake