<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">Try this script... it seems to indicate that they are usually pretty close, with the exception coming when the desired item is close the front of a large list, in which case itemOffset() sometimes runs much faster:<BR>
<BR>
on mouseUp<BR>
&nbsp;  local theList<BR>
<BR>
&nbsp;  repeat 1000<BR>
&nbsp;&nbsp;&nbsp;  put random(1000)&amp;comma after theList<BR>
&nbsp;  end repeat<BR>
&nbsp;  <BR>
&nbsp;  delete last char of theList<BR>
&nbsp;  put random(1000) into theNumber<BR>
&nbsp;  <BR>
&nbsp;  put the milliseconds into startTime1<BR>
&nbsp;  repeat 1000<BR>
&nbsp;&nbsp;&nbsp;  put itemOffset(theNumber, theList) into theOffset<BR>
&nbsp;  end repeat<BR>
&nbsp;  put the milliseconds into endTime1<BR>
&nbsp;  put (endTime1 - startTime1) into offsetTime<BR>
&nbsp;  <BR>
&nbsp;  put the milliseconds into startTime2<BR>
&nbsp;  repeat 1000<BR>
&nbsp;&nbsp;&nbsp;  put (theNumber is among the items of theList) into isAmong<BR>
&nbsp;  end repeat<BR>
&nbsp;  put the milliseconds into endTime2<BR>
&nbsp;  put (endTime2 - startTime2) into amongTime<BR>
&nbsp;  <BR>
&nbsp;  answer "ItemOffset:"&amp;&amp;offsetTime&amp;&amp;theOffset&amp;cr&amp;"Among:"&amp;&amp;amongTime&amp;&amp;isAmong<BR>
end mouseUp<BR>
<BR>
<BR>
<BLOCKQUOTE CITE STYLE="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px" TYPE="CITE"></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">Is "is among the lines" or "is within" faster than say:<BR>
<BR>
get lineOffSet(cr &amp; thisStr &amp; cr,cr &amp; reallyBigVar &amp; cr) ?<BR>
<BR>
Has anyone run speed tests?<BR>
</BLOCKQUOTE></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
------------------------------<BR>
Brian Yennie<BR>
Chief Technology Officer<BR>
QLD Learning, LLC<BR>
www.QLDLearning.com<BR>
<BR>
PH: (904)-997-0212<BR>
EMAIL: Yennie@aol.com<BR>
-------------------------------<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"></FONT></HTML>