Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aaf568cb4249fe88a7172051fad5f23007a6ed78
Ticket: 1237040fffffffffffffffffffffffffffffffff
dict compiler
User & Date: dgp on 2005-07-14 04:15:51
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    I'm a bit surprised to see
    TclCompileDictCmd use
    repeated strncmp() calls
    for subcommand parsing.
    
    Wouldn't it make more sense
    to copy TclCompileStringCmd()'s
    technique of using Tcl_GetIndexFromObj() ?
    
    If not, does it make sense to do the
    reverse, and have the [string] subcommands
    parsed as the [dict] ones are?
    
    I think it would be best not to use two
    different techniques in the same
    source code file without a really
    good reason.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"