The timing is much longer for vectors than for a list. However, I also get a segfault for the vector program.