If I get it correctly, I think it will not give the exact same result as sum(array), see this for example.