Lots of calculations lazily use `.clone()` and `new`. Improve by using arrays for pooling.
Lots of calculations lazily use
.clone()andnew.Improve by using arrays for pooling.