Tcl Source Code

View Ticket
Login
Ticket UUID: 1830038
Title: Increase usage of objType to avoid function calls
Type: Patch Version: None
Submitter: msofer Created on: 2007-11-11 18:18:45
Subsystem: 10. Objects Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-11-12 02:32:57
Resolution: Accepted Closed By: msofer
    Closed on: 2007-11-11 19:32:57
Description:
Increased usage of macros to detect and take advantage of objTypes. Added  macros TclGet(Int|Long)FromObj, TclGetIntForIndexM and TclListObjLength, modified TclListObjGetElements.

The TclGetInt* macros are only a shortcut on platforms where 'long' is 'int'; it may be worthwhile to extend their functionality also to other cases.

This patch is already committed to HEAD. As it touches many files it is recorded here to facilitate review.
User Comments: msofer added on 2007-11-12 02:32:11:

File Added - 253839: 1830038.patch

Logged In: YES 
user_id=148712
Originator: YES

File Added: 1830038.patch

Attachments: