isl_*_list_concat: special case pre-allocated list
commit7dc7da38756f23e9761a777453ceb89477d84428
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 28 Feb 2017 10:13:25 +0000 (28 11:13 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 25 May 2017 14:13:31 +0000 (25 16:13 +0200)
tree8f3909e29c251b0dc51e6e7d0d1dcf0a2ee2df87
parent3f6ba421457fe7ad1617530596828ae4c727f0f1
isl_*_list_concat: special case pre-allocated list

If the first list is large enough to contain the elements of the second list,
then they can simply be added rather than having to create a new list.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_list_templ.c