Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e2631b4ead596e83c2fffa24abc70c1b57e4ffc5
Ticket: 403709ffffffffffffffffffffffffffffffffff
Improve speed of [split $string ""] (bug #131523)
User & Date: dkf on 2001-02-12 16:52:55
Changes

  1. icomment:
    
    
    Patch Code - Modified - New Version
    
    The (char *) is correct as that because that is how hash tables configured with TCL_ONE_WORD_KEYS are used (as documented on the manual page.)  The assumption that UNICODE characters are sensibly castable to int is pretty good; it certainly works for UCS-16 and will actually be good in practise (even on 64-bit architectures as deployed) up to UCS-32 which is, incidentally, not supported by the rest of the core anyway.  :^)
    
    Variable names in patch have been modified to match core naming scheme.  My fault for naming them according to the scheme which I use in my own programs instead...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"