A = zeros(100000000.0, dtype='float32')
B = A[:]
B[0] = 1
C = array(B)
C[0] = 2
D = array(A)
D[-1] = 2

def short_circuit_check(a, b, n):
    L = len(a) / n
for i in range(n):
    pass
Numpy fast check for complete array equality, like Matlabs isequal