Re: suggestion for dictionary representation

Jim Blandy
2002-09-25T03:01:34Z

David Carlton <carlton@math.stanford.edu> writes:
> And it's entirely reasonable to think of 'N' as a constant. Or
> perhaps two constants: one for C programs with short names, one for
> C++ programs with long names. (And I'm not really sure that the C++
> names will ultimately turn out to be that much longer: once the proper
> namespace support has been added, then looking up a C++ name will
> probably be a multistep process (looking up pieces of the demangled
> name in turn), and for each those steps, we'll be looking at a name
> that will be of the appropriate length for a C program.)

Actually, the insanely long symbol names I've seen have to do with
template abuse, not deeply nested namespaces. I'm not free to post
the example I have in mind, but I'm pretty sure you'd be disgusted.