Rewrite the following Python code using vectorization techniques to reduce the computation time.
squares = []
for x in range(100):
 squares.append(x * x)
squares = [x * x for x in range(100)] # vectorized code equivalent to the for loop, which will be faster