diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-07-14 23:07:47 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-07-14 16:33:52 +0200 |
commit | 1ef2d66ab4e71eff70b12128660df576564b07b2 (patch) | |
tree | 0358249a3264d8a1e3d5c79db855bff0049e9dfe /acinclude.m4 | |
parent | 0198c850abe66d605a8e78cb3ed05dc485fdf009 (diff) | |
download | alsa-lib-1ef2d66ab4e71eff70b12128660df576564b07b2.tar.gz |
alisp: remove alloca() from FA_hctl_find_elem()
Both of alloca() and automatic variables keeps storages on stack, while
the former generates more instructions than the latter. It's better to use
the latter if the size of storage is computable at pre-compile or compile
time; i.e. just for structures.
This commit obsolete usages of alloca() with automatic variables.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions