[FFmpeg-devel] PIC and YASM
Mon Nov 9 19:45:17 CET 2009
On Mon, Nov 09, 2009 at 10:12:12AM -0800, Frank Barchard wrote:
> An upside is that code can load faster, since there are no relocs,
just curious, do you have a benchmark about this?
> and take
> less memory by sharing dll's.
and do you have some numbers about this?
PIC code is inherently larger and more complex, it does require
additional indirection tables, ...
thats a cost everyone who uses it, has to pay.
The win just happens for thouse who have 2 "dlls" loaded at the same time
by 2 processes
(this also implicates that libav* isnt linked statically like many do)
and its just the pages that contain relocs that would differ
and then only on OSs that cannot place these libs at the same location in
both processes. (if the locations match, so do the relocs)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel