|
From: Bart van Ingen Schenau on 24 Jan 2008 13:35 Francis Glassborow wrote: > Bart van Ingen Schenau wrote: > >> But, if comparing two 4 character strings can save you a 100 >> comparisons of integers, then doing the string compare first will be >> worth it. >> > > > I know I should not really be exposing the innocent to hacks but [...] Maybe I should have said 5 character strings, to avoid giving you the temptation :-) Bart v Ingen Schenau -- a.c.l.l.c-c++ FAQ: http://www.comeaucomputing.com/learn/faq c.l.c FAQ: http://c-faq.com/ c.l.c++ FAQ: http://www.parashift.com/c++-faq-lite/ |