This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]