On Mon, Dec 23, 2024 at 01:26:35PM +0100, Niklas Haas wrote:
> From: Niklas Haas <g...@haasn.dev>
> 
> This has the downside of requiring these tables to be recomputed on every
> init, but saves ~270 kB of static data.
> 
> Signed-off-by: Niklas Haas <g...@haasn.dev>
> ---
>  libswscale/utils.c | 26 +++++++++++++++++++++-----
>  1 file changed, 21 insertions(+), 5 deletions(-)

have you looked at doc/tablegen.txt ?

In theory, if tables are hardcoded in a object file
they can be cheaply removed from memory and just parts reloaded by the kernel
on access. Also they can be shared for free between processes and take no
time to generate (though time to load)

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to