Re: Max Command Length in Tcl
- From: miguel sofer <miguel.sofer@xxxxxxxxx>
- Date: Thu, 05 Jul 2007 10:19:29 -0000
On Jul 4, 9:11 pm, Amit Zaroo <amit.za...@xxxxxxxxx> wrote:
Hi all,
Is there Anything as a max command length in Tcl?
I have just ran a piece of code which is run on 2 lists. Basically a
list merge operation and Tcl came out with a core.
I suspect that the command length is to be blamed (either that or
regexp has a limit)
The command is given below
lsearch -all -inline -regexp $list1 [string map [list $string ""]
^[join $list2 $|^]$ ]
I can send the stack trace if requested.
The size of the 2 lists is very large (a modest estimate is 80K chars
per list)
Please file a bug ticket (with the stack trace attached) at
sourceforge [*]. Do tell us the Tcl version and OS, and include
contact information if you do not log into SF - much better if you do
login though, as you'll get automatic email on all ticket changes.
Cheers
Miguel
[*] The bug tracker is at http://sourceforge.net/tracker/?group_id=10894&atid=110894
.
- References:
- Max Command Length in Tcl
- From: Amit Zaroo
- Max Command Length in Tcl
- Prev by Date: ORATCL 'asynchronous fetch mode' help needed!
- Next by Date: Re: How to call C++ function from TCL, pass a buffer pointer, get back and access the same buffer filled with data
- Previous by thread: Re: Max Command Length in Tcl
- Next by thread: Re: Max Command Length in Tcl
- Index(es):
Relevant Pages
|