Hm, I didn't really realise it was looping over the array internally in that function... A benchmark even showed me that memory usage goes up quite significantly, so never mind :)