Prepend memory elements rather than appending them to the list.
commita30e9e427f9523bdbb86faf9ad35b58fa69269bf
authorBen Kibbey <bjk@luxsci.net>
Tue, 1 Jan 2008 21:57:57 +0000 (1 16:57 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 1 Jan 2008 21:57:57 +0000 (1 16:57 -0500)
tree5517082d54dfef27707ed1dcabddf19d55772236
parenta3e6781ba07577860ab7eb023b0d30126a71a75c
Prepend memory elements rather than appending them to the list.
Finding the element to free is quicker since it's closer to the
beginning of the list and there's no need to find the end of the list
when creating a new element.
src/mem.c