From: Nicolas C. <war...@fr...> - 2005-02-10 10:42:32
|
> > If you mean that we should add string -> char list and char list -> string > > functions to ExtString well I'm not sure it's good. Representing String as > > char arrays/list is probably the worst (look at C). The best way is to treat > > theses caracters uniformaly. > > It's not all about performance at all costs though. For me, most of > the time I want to get something done, and speed simply doesn't matter > - all the programs I'm writing at the moment spend 99.99% of their > time waiting for a remote SOAP server to respond. I didn't mean about performances, my point was about stability. Once you represent Strings as char arrays you're easily starting doing indexed stuff, and introduce a lot of potentatial bugs for the sake of performances since manipulating strings at an higher level is little more costly but less error prone if you're using the right functions. Nicolas |