[vlc-devel] [PATCH] p_languages: avoid relocation
funman at videolan.org
Mon Sep 10 15:40:31 CEST 2012
Le 10/09/2012 15:34, Rémi Denis-Courmont a écrit :
> Le lundi 10 septembre 2012 16:23:00, Rafaël Carré a écrit :
>> Le 10/09/2012 15:15, Rémi Denis-Courmont a écrit :
>>> IIRC, I already tried that but it made the run-time binary larger.
>> I would argue that if we wanted to optimize for memory, we would use
>> shorter strings (abbreviations) for this kind of table (especially for
>> the big vlc_fourcc_t tables that are only used for debugging).
> We could cut it to 20 characters...
> Tonga (islands)
Indeed, that would mean only 1kB increase:
now 4008 bytes
then 166 * (20 + 3 + 4 + 4) = 5146 bytes
More information about the vlc-devel