From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Colannino Subject: Re: comparing char to other known char's Date: Thu, 23 Jun 2005 22:48:20 -0700 Message-ID: <42BB9EA4.1070906@colannino.org> References: <42B9F2C7.2030205@colannino.org> <200506231757.58518.eric@cisu.net> <42BB52E4.5090504@colannino.org> <200506232234.55312.eric@cisu.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200506232234.55312.eric@cisu.net> Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: eric@cisu.net Cc: linux-c-programming@vger.kernel.org Eric Bambach wrote: >But maybe im being too pedantic ....your function DOES do the job ;) >I just dont know how you plan to use it. > > Well for my purposes it's probably ok. I'll be comparing very short strings with it, although then again I'll be comparing a good number of those short strings so the constant checking of those strings will still add up. I do like your solution a lot, and actually I think I'll go ahead and use it :) James P.S. Even though it's a small project that I'm working on, it is something I plan on sharing with others, so as long as you wouldn't have any objections I'd like to add a comment with your name to the code that gives you credit for coming up with it. -- My blog: http://www.crazydrclaw.com/ My homepage: http://james.colannino.org/ "A well regulated militia being necessary to the security of a free state, THE RIGHT of the people to keep and bear arms SHALL NOT BE INFRINGED." --United States Constitution, Second Ammendment