Re: [tkined] callbacks

Eddie Corns (E.Corns@ed.ac.uk)
Mon, 6 Dec 1999 17:23:41 GMT

Date: Mon, 6 Dec 1999 17:18:48 +0100
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
References: <199912031651.QAA01296@holyrood.ed.ac.uk>

OK, thanks for the info.

The % substitutions (which I borrowed from Tk) turned out to be a bad
idea. Despite the problem you describe above, % substitutions lead to
inefficient code since callback will be recompiled everytime and there
is a non-trivial risk to introduce bugs by having substitutions in
strings like "%V" (suppose %V contains valid Tcl code).

Hadn't thought of that. I certainly don't notice any slowness despite having
about 3000 callbacks in each run but it's probably swamped by network and
database delays.

Thanks again,
Eddie

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.