Try this out. The datatype affects the performance greatly.

b: make block! 10000
h: make hash! 10000
l: make list! 10000

repeat i 10000 [append b random i]
repeat i 10000 [append h random i]
repeat i 10000 [append l random i]

t: now/time/precise
loop 20 [unique b]
loop 20 [unique b]
loop 20 [unique b]
print now/time/precise - t

t: now/time/precise
loop 20 [unique h]
loop 20 [unique h]
loop 20 [unique h]
print now/time/precise - t

t: now/time/precise
loop 20 [unique l]
loop 20 [unique l]
loop 20 [unique l]
print now/time/precise - t

--Gregg
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to