(id uint64, loc *Location)
| 566 | } |
| 567 | |
| 568 | func (lm locationIDMap) set(id uint64, loc *Location) { |
| 569 | if id < uint64(len(lm.dense)) { |
| 570 | lm.dense[id] = loc |
| 571 | return |
| 572 | } |
| 573 | lm.sparse[id] = loc |
| 574 | } |
| 575 | |
| 576 | // CompatibilizeSampleTypes makes profiles compatible to be compared/merged. It |
| 577 | // keeps sample types that appear in all profiles only and drops/reorders the |
no outgoing calls