Eliminate the usages of singly- and doubly-linked list whenever possible.
See big performance improvement to parsing string array.