On Mon, 26 Apr 2004, Alexandre Julliard wrote: [...]
The first case is not a const pointer, it's a pointer to a const string, and it requires the compiler to allocate separate (writable) storage for the pointer, so you are wasting 4 bytes per string. You could use 'const char * const' to at least put the 4 bytes in read-only storage, but unless there's a real need for a separate pointer, using the buffer form is much preferable.
Makes sense. No problem, I'll resubmit.