Thanks Gregg.  Gives me a few ideas.

Paul Tretter


----- Original Message ----- 
From: "Gregg Irwin" <[EMAIL PROTECTED]>
To: "Paul Tretter" <[EMAIL PROTECTED]>
Sent: Tuesday, February 03, 2004 11:37 AM
Subject: [REBOL] Re: 'recycle use


> 
> Hi Paul,
> 
> PT> I'm a big confused on 'recycle.  How often should it be used -
> PT> such as should it be called in a large forever loop where you
> PT> might have a lot of set-word values that you are unsetting?  Or
> PT> will this cause a performance hit from that forever loop?
> 
> Using recycle will definitely cause a performance hit. It's unlikely
> that you'll need to use it for 99% of your code. In cases where I use
> it in a loop, I'll usually use a counter so I only call it every N
> iterations. Sometimes a specific call or section of logic (e.g. where
> a large series is allocated), can also be used as a trigger to keep
> the recycle count down. 
> 
> -- Gregg                         
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to