[FFmpeg-devel] [RFC] AES init

Reimar Döffinger Reimar.Doeffinger
Sun May 13 20:02:37 CEST 2007


Hello,
On Sun, May 13, 2007 at 07:38:15PM +0200, Luca Barbato wrote:
> Rich Felker wrote:
> > Personally I'm against runtime initialization. All the data is
> > constant! Include these tables as static arrays in the text/rodata
> > segment and they'll use less memory and the race condition goes away
> > permanently without hackish solutions like this.
> 
> The only problem is that it would consume memory needlessly, still it is
> less complicated than the other solution proposed.

?? It will consume extra disk space, but not any more memory. Actually
it will consume _less_ in some ways, since it can be swapped out to the
original binary instead of using swap space if you really need all that
memory.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list