|
|
|
|
|
by mstromb
4227 days ago
|
|
Why would linking order affect runtime performance? Something to do with the interaction between offsets and cache, maybe? Would it be possible to determine ahead of time what order would maximize performance, or would that require profiling? |
|
With regards to alignment... do linkers typically pack objects so tightly that the start of each object isn't aligned on a cache line boundary? AFAIK they're typically 32, 64, or 128 bytes.