Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5a8f97721129d7c01f2e03f357af7a88048e5d80
Ticket: 1772004fffffffffffffffffffffffffffffffff
objReform
User & Date: das on 2007-08-12 14:03:56
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    Originator: NO
    
    apropos ckalloc() and malloc() alignment:
    I recently comitted a change that ensures that ckalloc() returns 16-byte aligned memory on Darwin (where malloc() is guaranteed to return 16-byte aligned mem), this has performance benefits on the platform because things like memcpy() are implemented with vector instructions (i.e. 128-bit registers) where misaligned memory access is costly.
    the patch could easily be extended to other platforms (if malloc alignment is known):
    http://rutherglen.ics.mq.edu.au/fisheye/changelog/Tcl/?cs=MAIN:das:20070629031705
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"