position independent code and MMUs

1 reply [Última entrada]
donttazeme
Desconectado
Joined: 03/16/2015

http://en.wikipedia.org/wiki/Position-independent_code

I read the above artice. It says non-pic aware addressing is faster than pic code. It also mentions MMU units in such a way that I wonder if it is still necessary to compile libraries as PIC, or maybe sometimes it is and sometimes it isn't. I'd like to have a good understanding of this. If its possible that a given library, running on a system with an MMU does not have to be compiled as PIC then that could be a way to get some performance improvements, but how much? Enough to be worth while or just .00005 percent??

Can anyone comment?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010