Quantity initialisation speedup for large arrays by short-circuiting test
Merge pull request #1231 from mhvk/units-quantity-initialisation-speedup

In Quantity initialization, short-circuit one test for iterables for speed-up