Re: [MPlayer-dev-eng] [PATCH] gui/menu: optimize language table.
- Date: Sat, 20 Feb 2016 11:22:07 +0100
- From: Reimar Döffinger <Reimar.Doeffinger@xxxxxx>
- Subject: Re: [MPlayer-dev-eng] [PATCH] gui/menu: optimize language table.
On Sun, Feb 14, 2016 at 08:33:00AM +0100, Ingo Brückl wrote:
> Reimar Döffinger wrote on Sat, 13 Feb 2016 23:50:48 +0100:
> > Store fixed size 4 entry directly
> > instead of via pointer.
> > gui/dialog/menu.c | 2 +-
> > - const char * id2;
> > + const char id2;
> This patch should do better.
It's a bit more complex, and for char arrays a simple sizeof()
would work just as well, but it's fine.
Go ahead with whatever you like best.
MPlayer-dev-eng mailing list