> > The Garbage Collector is being called regularly anyway. If you call
> > RECYCLE too often, you are unnecessarily slowing down the
interpreter.
>=20
> [[CC]] Indeed, as obviously shown here:
>=20
> >> rec: does [start: now/time/precise i: 0 loop 1000 [i: i + 1
recycle]
> print now/time/precise - start]
> >> rec
> 0:00:03.525
> >> no-rec: does [start: now/time/precise i: 0 loop 1000 [i: i + 1]
print
> now/time/precise - start]
> >> no-rec
> 0:00
>=20
[>CC<] Just by curiosity, I tried to estimate the supplementary time
needed by 'recycle call:

>> no-rec: does [start: now/time/precise i: 0 loop 100000 [i: i + 1]
print now/time/precise - start]
>> no-rec
0:00:00.03
>> rec: does [start: now/time/precise i: 0 loop 100000 [i: i + 1
recycle] print now/time/precise - start]
>> rec
0:05:55.507
>> 0:05:55.507 / 0:00:00.03
=3D=3D 11850 ;times more or...
>> 0:05:55.507 / 100000
=3D=3D 0:00:00.00355507 ;... per recycle

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to