Commit af0f0f1
committed
[GC] Hoist reached-list lookups
Move reached symbol and section list lookups out of the per-relocation path.
On a Release ELD + Release Clang benchmark linking with
--gc-sections over 100 runs, Garbage Collection runtime improved from
0.4516s to 0.4365s.
Resolves #1754
Signed-off-by: Rachit Mehta <rachmeht@qti.qualcomm.com>1 parent 9ed7e64 commit af0f0f1
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
304 | 311 | | |
305 | 312 | | |
306 | 313 | | |
| |||
310 | 317 | | |
311 | 318 | | |
312 | 319 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments