On 2005.02.25, Andrew Piskorski <[EMAIL PROTECTED]> wrote:
> Moving all tDOM auto-created procs into their own namespace would also
> make solving the memory leak problem above easier, no? Just remove
> everything in that namespace when the conn ends.
Absolutely. Right now we do linear searches (read: SLOW AS CRAP) using
stuff like this:
foreach proc [info proc domDoc*] {
rename proc {}
}
But, since the proc name is user-specified when using createNodeCmd, you
can't use this trick to find them all. Having *ALL* tDOM-created procs
(both for domDocs and domNodes, and createNodeCmd, etc.) in a ::tdom
namespace would be terrific. It'd make the necessary cleanup trivially
easy.
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.