Why C++ compiles slowly

Steven Schveighoffer schveiguy at yahoo.com
Wed Aug 25 05:33:30 PDT 2010


On Tue, 24 Aug 2010 18:00:32 -0400, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> Steven Schveighoffer wrote:
>> Through some more work with printf, I have to agree with bearophile,  
>> this lookup function is horrid.
>
> It is now, but when it was originally written (maybe as long as 20 years  
> ago) there were only a few strings in the table, and it was fine. It's  
> just outlived its design. Clearly, it should now be a hash table.
>
> Just goes to show how useful a profiler is.

Yes, I'm glad you pushed me to do it.  Looking forward to the fix.

-Steve


More information about the Digitalmars-d mailing list