>Appending to a list becomes slower and slower as the list gets longer and
>longer if the list reference is not the tail of the list.
I should point out that this change probably wasn't necessary.
With the old AppendImageToList() implementation, callers who needed faster
appends could have already achieved faster performance on a call like:
(void)AppendImageToList(&thumbnails,resize_image);
By noting that resize_image becomes the list tail, and simply changing the code
to:
(void)AppendImageToList(&thumbnails,resize_image);
thumbnails = resize_image;
then adding:
thumbnails = GetFirstImageInList(thumbnails);
Just outside the loop (like they need to now).
c.