Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-13
23:36 • Closed ticket [217868ffff]: A true lconcat plus 3 other changes artifact: 7757fe4b06 user: dgp
23:35 • Open ticket [217868ffff]. artifact: a784887205 user: dgp
2000-10-26
07:59 • Closed ticket [217868ffff]. artifact: 1c09325df1 user: welch
00:45 • New ticket [217868ffff]. artifact: 345fe737c0 user: nobody

A true [lconcat]

Closed / Invalid217868ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:45:07
OriginalBugID: 2101 RFE
Version: 8.1
SubmitDate: '1999-05-19'
LastModified: '1999-08-06'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 2098 2257
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '1999-08-06'


Tcl  Request

Name:  Alexandre FERRIEUX
email:  [email protected]
Support:  None
Severity:  2
Synopsis:  A true [lconcat] !

DesiredBehavior:
    As posted before, [concat] works at string level.
    We would definitely need a list-aware [lconcat] primitive, that would
    take full advantage of the smart caching of the dual representation (of
    lists in this case).
    
    Of course it can be done in pure Tcl:
    
    proc lconcat {l1 l2} {
    foreach e $l2 {lappend l1 $e}
    set l1
    }
    
    However, since speed is at stake here, a C primitive would be better !
welch Closed ticket [217868ffff]. [History diff]2000-10-26 07:59:48
dgp Open ticket [217868ffff]. [History diff]2001-04-13 23:35:48
dgp Closed ticket [217868ffff]. [History diff]2001-04-13 23:36:13
Log in (anonymous is fine) to add a comment.