* Adam Borowski:

>> I would defend static libs for scientific apps. Static libs show a
>> significant performance benefit (2-40%, median around 5-10% but sometimes
>> far more with C++ apps) and so are standard in HPC still;
>
> If you see that big a difference, you do a lot of cross-file calls in
> tight loops.

Not necessarily.  -fPIC and -fPIE force calls to global functions
defined in the same translation unit to go through the PLT.  They
aren't translated to direct IP-relative calls.  For -fPIC, this is
required by the ELF specification (no kidding, this might seem strange
today).


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d3eefcsv....@mid.deneb.enyo.de

Reply via email to