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
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to