From: Joakim Andersson Date: 2002-02-20T00:19:12+09:00 Subject: Re: Epic4/Ruby On Tue, Feb 19, 2002 at 04:05:55AM +0900, Thomas Hurst wrote: > What about things like event handling? Do we have to call the ruby > aliases from the standard scripts for those? Yeah, you'll have to do something like: rbalias cache_no_bans { ... } on ^368 * cache_no_bans > Do things like require work as expected? I don't see any reason why it shouldn't work. But I've been focusing on creating the patch, so I haven't had any time to rubify my irc script. But that's next on my list. So maybe I'll notice some issues that will have to be addressed then. > I don't wanna write some stuff > using it only to find it leaks like mad or something :) It doesn't leak now, but it never returns memory either :) It's because all the different invocations of the ruby aliases are currently being executed in the same scope/context so nothing every goes out of scope and hence the ruby garbage collector never frees anything. But that should be fixed in the next version of the patch. That will be ready in a couple of days. > I've been using epic CVS for ages and I rarely have any problems. And because that's what I'm currently using that is what the patch is against. But I'll consider porting the patch to the latest production release of epic then the patch has stabilized and is more ready. Regards, Joakim -- Joakim Andersson ; tyrak@borgship.net ; http://borgship.net/~tyrak/