Improved alpm_list_mmerge() performance (fixed coding style)
commit268d0bbcbed29b684af7478467bab4bdc2785636
authorDiogo Sousa <diogogsousa@gmail.com>
Wed, 24 Aug 2011 16:01:11 +0000 (24 17:01 +0100)
committerDan McGee <dan@archlinux.org>
Wed, 24 Aug 2011 16:27:11 +0000 (24 11:27 -0500)
tree2aba63252b0c934b17f64e72b23d1ba11f671a11
parent30d978a966c1d2a619acc49f204e4da1e0010c83
Improved alpm_list_mmerge() performance (fixed coding style)

Improved alpm_list_mmerge() performance by removing an extra
pass to obtain the tail node.

This was actually suggested by a TODO comment.

Signed-off-by: Diogo Sousa <diogogsousa@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm_list.c