On 8/3/07, Charles R Harris [EMAIL PROTECTED] wrote:
On 8/3/07, David Cournapeau [EMAIL PROTECTED] wrote:
Andrew Straw wrote:
Dear David,
Both ideas, particularly the 2nd, would be excellent additions to
numpy.
I often use the Intel IPP (Integrated Performance Primitives)
Here's a hack that google turned up:
(1) Use static variables instead of dynamic (stack) variables
(2) Use in-line assembly code that explicitly aligns data
(3) In C code, use *malloc* to explicitly allocate variables
Here is Intel's example of (2):
; procedure
On 04/08/07, David Cournapeau [EMAIL PROTECTED] wrote:
Here's a hack that google turned up:
I'd avoid hacks in favour of posix_memalign (which allows arbitrary
degrees of alignment. For one thing, freeing becomes a headache (you
can't free a pointer you've jiggered!).
- Check whether a