Tcl Source Code

View Ticket
Login
Ticket UUID: 457449
Title: Change addressing mode of tcl stack
Type: Patch Version: None
Submitter: msofer Created on: 2001-08-31 23:46:50
Subsystem: 47. Bytecode Compiler Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-09-23 21:46:14
Resolution: Accepted Closed By: msofer
    Closed on: 2003-09-23 14:46:03
Description:
The tcl evaluation stack is currently addressed as an
indexed array: the top item in the stack is
   stackPtr[stackTop]

This patch changes the mode to pointer addressing: the
top item is now
   *stackTopPtr

This should be slightly faster (direct addressing
instead of base + offset), and is clearer to some
(non-empty set as it contains me ...)
User Comments: msofer added on 2003-09-23 21:46:14:

File Deleted - 10230:

msofer added on 2003-09-23 21:46:13:

File Added - 62273: stackAddr.patch

msofer added on 2003-09-23 21:46:01:
Logged In: YES 
user_id=148712

Updated patch, committed to HEAD.
This is also setting the stage for forthcoming changes in
the evaluation stack logic.

hobbs added on 2002-02-26 09:24:57:
Logged In: YES 
user_id=72656

punting back to miguel, as this needs updating with all the 
latest changes that have gone in.

msofer added on 2001-09-01 06:46:51:

File Added - 10230: stackAddr.patch

Attachments: