Re: Testing Sequences for Uniqueness

new topic     » goto parent     » topic index » view thread      » older message » newer message

COL (chuckling out loud). I guess you get to a point where you're doin' some
complicated stuff and you simply FORGET the simple stuff.

sheesh.

Thanks, Derek, for the heads up! smile

-ck

----- Original Message -----
From: Derek Parnell <dparnell at BIGPOND.NET.AU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, August 24, 2000 3:48 PM
Subject: Re: Testing Sequences for Uniqueness


> What's wrong with "compare()" ? With the program below, I'm getting about
> 32,500 compares per second.
> ---------------------
> atom e
> integer x,i,t
> i=0
> t=5
> e = time()+t
> while time()<e do
> x=compare ({1,2,3,4,5,6},{1,2,3,4,5,6})
> i+=1
> end while
> printf(1, "%f", i/t)
> -------------------------
>
>
>
> ----- Original Message -----
> From: "ck lester" <cklester at YAHOO.COM>
> To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> Sent: Friday, August 25, 2000 5:38 AM
> Subject: Testing Sequences for Uniqueness
>
>
> > What is the fastest way to check two sequences (of six numbers) for
> > uniqueness?
> >
> > If I have the following:
> >
> > x = { 1 , 2 , 3 , 4 , 5 , 6 }
> > y = { 1 , 2 , 3 , 4 , 5 , 7 }
> >
> > What's the fastest are_different( x , y ) function out there?
> >
> > Thanks in advance!
> > ck
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu