Tcl Source Code

View Ticket
Login
Ticket UUID: 1545151
Title: TIP # 272
Type: Patch Created on: 2006-08-23 09:25:24
Submitter: fridolin Assigned to: dkf
Subsystem: 17. Commands I-L Severity:
Priority: 5 Medium Last modified: 2007-04-10 19:23:53
Status: Closed Closed by: dkf
Resolution: Accepted Closed on: 2007-04-10 12:23:53
Version: TIP Implementation
Description:
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:
fridolin added on 2006-08-23 16:25:25:

File Added - 190273: lreverse.c

dkf added on 2006-08-23 17:55:35:
Logged In: YES 
user_id=79902

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

Attachments: