Tcl Source Code

View Ticket
Login
Ticket UUID: 424851
Title: Faster array searching & obj cleanup
Type: Patch Version: None
Submitter: dkf Created on: 2001-05-17 14:16:25
Subsystem: 07. Variables Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-05-26 08:40:38
Resolution: Accepted Closed By: msofer
    Closed on: 2001-05-26 01:40:38
Description:
Adds Tcl_Obj-based cacheing to the [array startsearch],
[array anymore], [array nextelement] and [array
donesearch] sub-command set (speeding up the use of the
Tcl-level iterators by reducing the number of calls to
strtoul!)

Also cleans up the registrations of many Tcl_ObjType
structures by gathering them together in one place.
Scattering the init all over the core is not at all
clean...
User Comments: msofer added on 2001-05-26 08:40:38:
Logged In: YES 
user_id=148712

Committed

hobbs added on 2001-05-22 05:39:33:
Logged In: YES 
user_id=72656

Looks like an innocuous change with positive benefit.

dkf added on 2001-05-17 21:16:27:

File Added - 6377: arraysearch.patch

Attachments: