Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!CS.ARIZONA.EDU!ralph From: ralph@CS.ARIZONA.EDU ("Ralph Griswold") Newsgroups: comp.lang.icon Subject: Re: Efficiency of search Message-ID: <9101191730.AA04912@cheltenham.cs.arizona.edu> Date: 19 Jan 91 17:30:53 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 7 find("c",s) is faster than upto('c',s). The reason is the extra time needed to set up the character table for upto(). The difference is small, however. Ralph Griswold / Dept of Computer Science / Univ of Arizona / Tucson, AZ 85721 +1 602 621 6609 ralph@cs.arizona.edu uunet!arizona!ralph