Tcl Source Code

View Ticket
Ticket UUID: 1545151
Title: TIP # 272
Type: Patch Version: TIP Implementation
Submitter: fridolin Created on: 2006-08-23 09:25:24
Subsystem: 17. Commands I-L Assigned To: dkf
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-04-10 19:23:53
Resolution: Accepted Closed By: dkf
    Closed on: 2007-04-10 12:23:53
lreverse.c implements lreverse as a extension. The two 
function could easily copied to Tcl's core. (I'm not 
an expert on TCL internals). I used this extension for 
some time.
User Comments: dkf added on 2006-08-23 17:55:35:
Logged In: YES 

I was planning to do a clean-room reimplementation. It's not
hard to do in the first place, and code inside the Tcl core
gets to play fast-and-loose with some of the constraints
leading to quicker overall code.

(The [string reverse] implementation will be more
interesting as there are some tricky cases involved.)

fridolin added on 2006-08-23 16:25:25:

File Added - 190273: lreverse.c