From: Andreas K. <and...@Ac...> - 2001-11-12 23:02:25
|
Is is possible to send me the whole modified mime.tcl, or a unified diff ? I would like to integrate this change into the current sources. -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com > -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of Cameron > Laird > Sent: Monday, November 12, 2001 3:01 PM > To: a.k...@we...; dn...@sa...; fel...@cs...; > fp...@fp...; tcl...@li... > Subject: [Tcllib-devel] More on mime processing > > > of large items: all the interesting action is in > the "while {$moreP} {..." loop of mime::parsepart, > that is, the second one, which parses bodies. For > the purposes of this discussion, any benefit to > splitting mime::parsepart in various ways mentioned > already is essentially irrelevant; all that matters > is to improve the second loop, in the case where > $fileP is zero. > > I'm currently using > set list [split $string \n] > set i 0 > while {!moreP} { > ... > set line [lindex $list $i] > incr i > ... > } |