Tcl Source Code

View Ticket
Login
Ticket UUID: 457449
Title: Change addressing mode of tcl stack
Type: Patch Created on: 2001-08-31 23:46:50
Submitter: msofer Assigned to: msofer
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2003-09-23 21:46:14
Status: Closed Closed by: msofer
Resolution: Accepted Closed on: 2003-09-23 14:46:03
Version: None
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 2001-09-01 06:46:51:

File Added - 10230: stackAddr.patch

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 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.

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

File Added - 62273: stackAddr.patch

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

File Deleted - 10230:

Attachments: