Overview
| Artifact ID: | 96a53ca7606ea1da827db10660dab2c628414f63 |
|---|---|
| Ticket: | 403709ffffffffffffffffffffffffffffffffff
Improve speed of [split $string ""] (bug #131523) |
| User & Date: | andreas_kupries on 2001-02-12 13:40:33 |
Changes
- icomment:
Tcl_UniChar -> int -> (char *) The first is safe, AFAIK, because IIRC Tcl_UniChar represents UTF16 coding of characters which is 2 bytes at most. And int is 2 bytes at least. The (char*) should be read is (void*). Tcl_CreateHashTable has a very generic interface to keys, because of the various possible key-types. As the hash is created with one-word-keys an (int*) is ok, even in the guise of a (char*). I agree that we should change the variable names to match the core style.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"