Am 30.12.2005 um 08:46 schrieb Stephen Deasey:


But I don't know, there may be situations where a per-thread cache is
worht while and we should add that...?

Hm... for a typical web application (whatever that is) where you have
short lived connections, it is not worth the work, IMO.
But if you have a long running operation in a thread, a per-thread
cache seems like a good idea. There you can stuff (and reuse) Tcl
objects w/o shimmering to/from string.
To be honest, at the moment I do not have any need for such thing
but on the general level, an option to create a cache as "global"
vs. thread-private is a powerful functionality.

Cheers
Zoran

Reply via email to