Re: Determining item number matching "x" in a list
Re: Determining item number matching "x" in a list
- Subject: Re: Determining item number matching "x" in a list
- From: Emmanuel <email@hidden>
- Date: Fri, 14 Mar 2003 20:26:16 +0100
At 11:47 AM -0500 14/03/03, Steve Cunningham wrote:
Emmanuel wrote
NG's "getindex" requires 170 +or- 25 microseconds
>My "IndexOfItem" requires 809 +or- 37 microseconds
I can't reproduce these results :-(
Now I can't either :-(
[can't believe it]
My latest tests say that NG's handler is twice slower on the average
than the "count paragraph" method:
NG's binary search = 1868 +or- 715
EL's count paragraph = 664 +or- 113
I've written the script that tests both handlers and plots the
results into a nice graph. Please ask me, I'll send it with pleasure.
I can't exclude that it contains a big mistake.
I apologize for presenting such confusing information.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.