[PATCH][GOLD] Make string offset assignment independent of implementation of unordered map elements order.

Doug Kwan (關振德) dougkwan@google.com
Mon Mar 15 08:37:00 GMT 2010


2010/3/14 Ian Lance Taylor <iant@google.com>:

> The stringpool code is pretty time intensive for the linker, so I'm
> not thrilled about walking the hash table twice.  When not optimizing,
> I think we can actually calculate key_to_offset_ as we add strings to
> the table.  That's even better, since we can eliminate the hash table
> walk.  How does that sound?

That's better. I can submit another patch.

-Doug



More information about the Binutils mailing list