|
|
|
|
|
by DougMerritt
4502 days ago
|
|
I remember, but these days the parallel to working set size (depending on the app) is fitting things in cache, or at least cache-awareness -- which some people aim for, but is largely an ignored issue. Page thrashing versus cache thrashing. An issue both back then and today is potentially that dynamic linkage often ends up using an indirection table, unlike static linkage with simple fixups, which then adds at least the cost of an indirection to each function call. Sometimes that overhead is swamped by other factors, sometimes it's not, but that would be one reason why static linkage can be faster at times. Dlopen() is certainly a lifesaver sometimes. |
|