position independent code and MMUs
- Inicie sesión ou rexístrese para enviar comentarios
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?