philip reynolds philredbrickdcuie matthew frenchs mfrench42yahoocouk 65 lines wisdom included brian odonoghue wrote code fragment fora0a some_thing_goes_here ifbstrlensomestring4 do_something unfortunately strlen relatively expensive operation using c big issue stringlength declared const long modify string object compiler caching theres simple reason strlen shouldnt used string thats future could actually change contents somestring within loop left wondering number iterations expect phil irish linux users group iluglinuxie httpwwwlinuxiemailmanlistinfoilug unsubscription information list maintainer listmasterlinuxie fri 9 aug 2002 145028 0100 ilug slashdot ew dijkstra humor