On  5 Sep, FLYNN, Steve wrote:
> Exactly what is the point in that? I've never done any Tcl programming
> (yet) but I can't see the reasoning behind this.
> 

I don't remember what the exact design decision was. It may have been
somnething to do with performance. I'll ask and give you the answer later.

> It's a multi-tasking OS - everything should be handed back in a friendly
> manner. It sounds like a deliberate design ploy on the Tcl interpreter
> authors, presumably for performance increases, but it appears to fail as
> it causes swapping itself!
> 
> Have I got the wrong end of the stick?
> 

In this case, probably. I suspect the the tkppoe script keeps large amounts
of data in memory and never releases it. For example, maybe it sets an array
aor a list and constantly adds data to it. In that case, no matter what Tcl
does with memory, it will just keep on growing and growing.

On the other hand, if the script allocates large amounts of data to do
temporary datamanipulation, then releases the handle to that data, the
memory growth will be a result of the way Tcl manages memory. Until I see
the script, I can't say for sure which of these situations is at work.

L

-- 
Laurent Duperval <mailto:[EMAIL PROTECTED]>

"All of you are sick!  All of you should be hospitalized!!"
    -Shaul Yahalom of the Israeli parliament, responding
    to members who suggest King David was gay



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to