xrange returns the xrange object while range returns the list, and uses the same memory and no matter what the range size is.