[ruby-talk:02563] Re: frozen behavior

From: mengx@...
Date: 2000-04-21 16:52:17 UTC
List: ruby-talk #2563
> This is untested, but how about a shell script which does something like:
> 
>   ruby -w -e "GC.diable; load \"$1\""
> 
> 
> Just as a matter of interest, why do you want to run with GC disabled?
> 
> 
> Dave
> 

For initial testing of code, I am not concerned about memory leaking.
I want programm run fast. A while ago on the mailing list, I pointed
out GC often causes slowdown as twice as GC.disabled. so I'd like to
switch GC mode in different situations.

Thanks


-Ted

In This Thread

Prev Next