computeAddrMap function calls std::stable_sort with a comparison function that computes deserialized symbols every time its called. In the result deserializeAs<PublicSym32> is called 20-30 times for every symbol. It's much faster to calculate it beforehand and pass pointer to it to the comparison function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks ok to me but I'll defer to ruiu@ for the final word since I'm not as familiar with this area.
Comment Actions
Err wait, you uploaded to the wrong patch. This was supposed to be the PDB patch :) That one looks good. Can you re-upload this to the ICF patch?