I suspect that function call will faster but is this really so? And how faster will it be, it noticeable?
OS 101: function call: dozens of cycles, IPC hundreds of cycles (both depending on architecture).
Gernot
will the time for function calling still be the same if it is shared library?
On Wed, Feb 16, 2011 at 2:54 PM, Jason Philip mored1759@gmail.com wrote:
will the time for function calling still be the same if it is shared library?
No, but it won't be much different - a few instructions depending on exactly what object format you use. If this interests you then I suggest "Linkers and Loaders" chapters 8 and 10.
Cheers, Thomas
l4-hackers@os.inf.tu-dresden.de