From: David W. <dw...@in...> - 2011-04-29 23:58:59
|
On Sun, 2011-03-20 at 22:11 -0400, MIke Westall wrote: > I'll be the first to admit that (1) I'm a grouchy old guy who (2) first > programmed on an IBM 1620 and then on a 360 Model 30 with 32K ram. But > why oh why do we need to use 9 byte string constants with per character > compare to decide if the device is up or not :-( Because that's the interface that we get from the ADSL RTOS on the device itself. It returns its status as a string. Besides, it shouldn't be a per-character compare. I'd hope that on a 64-bit box it ends up being a 64-bit compare, followed perhaps by a single byte compare. -- dwmw2 |