[Ffmpeg-devel] Fixed point arithmetic RealAudio G2 (cook) decoder

Trent Piepho xyzzy
Tue Mar 13 19:42:30 CET 2007


On Tue, 13 Mar 2007, Michael Niedermayer wrote:
> > another possible idea is to put table arrays in bss so that they don't
> > take space on disk (or in memory until they're initialized). this
> > cleans up the dynamic .so loading issue but doesn't allow memory to be
> > shared.
>
> well actually, the kernel could share them too, it only has to find duplicate
> pages and mark them as copy on write and shared

Except most tables aren't so kind as to be a multiple of the page size and
start on a page boundry.  You'd probably find your initialized and then
constant tables shares a page with non-identical data or are not at the
same offset wrt the page boundries.




More information about the ffmpeg-devel mailing list