[alsa-devel] [PATCH 0/2][RFC] ALSA: core: optimizations for creating new controls

Takashi Iwai tiwai at suse.de
Thu Mar 5 16:58:30 CET 2015


At Fri,  6 Mar 2015 00:43:24 +0900,
Takashi Sakamoto wrote:
> 
> This patchset is for reducing executing time and stack usage at creating
> new control instances. Nothing fixes.
> 
> Takashi Sakamoto (2):
>   ALSA: core: use precomputed table to check userspace control params
>   ALSA: core: reduce stack usage related to snd_ctl_new()

Both look good, but just minor nitpicking: could you remove
superfluous parentheses in cases like below?

	if ((a > 0) && (b < 0)) ...

Most people are no lispers.


thanks,

Takashi


More information about the Alsa-devel mailing list