TIP # 272
Closed / Accepted1545151fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-23 09:25:24
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.
fridolinplain2006-08-23 16:25:25
File Added - 190273: lreverse.c
dkf Ticket [1545151fff]: 2 changes
[History diff]2006-08-23 17:53:49
dkfplain2006-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.)
dkf Ticket [1545151fff]: 1 change
[History diff]2006-09-29 15:59:34
dkf Closed ticket [1545151fff].
[History diff]2007-04-10 19:23:53
Log in (anonymous is fine) to add a comment.
Attachments:
- lreverse.c [download] added by fridolin on 2006-08-23 16:25:25. [details]