Performance improvements (reduction in allocations)