Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 289440efddcc28f00ec264ff635d2e44d8f6c301
Ticket: 1675258fffffffffffffffffffffffffffffffff
mem alloc performance on Linux
User & Date: msofer on 2007-03-22 04:40:29
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    EVAL/LAPPEND performance might be due to the Tcl_ListObjReplace scenic tour, but FOREACH/LAPPEND not: the lappend bcc implementation did not change and does not go through T_LOR: it goes through Tcl_ListObjAppendElement (via TclPtrSetVar) just like in 8.4. I do not immediately see that T_LOAE could have gotten slower because of the new list intrep.
    
    (Sidenote: EVAL/LAPPEND is not idiomatic for 8.5: one would use {*} instead of [eval]. A new benchmark EXPAND/LAPPEND might be useful).
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"