[phobos] Showstopper bug: Hello world fails on OSX!

Andrei Alexandrescu andrei at erdani.com
Wed Nov 10 13:23:00 PST 2010


On 11/10/10 12:59 PM, Sean Kelly wrote:
> On Nov 10, 2010, at 12:44 PM, Andrei Alexandrescu wrote:
>>
>> I suggest we go with a hash. It costs next to nothing and has no future scalability money. I bet money at least a few companies (Facebook included) would run into severe scalability issues if linear search is to be used.
>
> I can't imagine an app would load more than a few dynamic libraries, and the data shouldn't need random access, should it?  Would performance really be an issue here?

I can't either. Then, I couldn't imagine a C++ application could have 
50,000 global variables, until HPHP generated some. Turns out gcc does 
linear look-up for global variables, which severely affects compilation 
performance.

Andrei


More information about the phobos mailing list