Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed88aa7ba76293415bc60984ef0b330a31587920
Ticket: 2318906fffffffffffffffffffffffffffffffff
order of insertion seems to have large performance impact
User & Date: nobody on 2008-11-22 03:45:02
Changes

  1. icomment:
    Original submitter here. Thanks for looking into this. I'm sorry I did not attach the result my run in the original filing.
    
    Interesting results. On my machine, I see the following after changing to 'clock milliseconds'. Fast method gives: 68 ms, Slow method gives: 1565 ms.
    
    uname -a: Linux hostname 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux
    
    Running the pre-built binaries: ActiveTcl8.5.5.0.287690-linux-ix86-threaded.
    
    I'll try building my own Tcl.
    
    fast method.
    1000 lines done.
    2000 lines done.
    3000 lines done.
    4000 lines done.
    5000 lines done.
    lines: 5000
    filelines: 3267
    commitlines: 1733
    elapsed: 68
    slow method.
    1000 lines done.
    2000 lines done.
    3000 lines done.
    4000 lines done.
    5000 lines done.
    lines: 5000
    filelines: 3267
    commitlines: 1733
    elapsed: 1565
    
    
    
  2. login: "[email protected]"
  3. mimetype: "text/plain"
  4. username: "[email protected]"