You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>[!NOTE] In PowerShell 7.5, array addition has been optimized and no longer creates a new array for each operation. The performance considerations described here should only be used in environments where PowerShell versions prior to 7.5 are in use. For more information, see [What's New in PowerShell 7.5](https://learn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-75?view=powershell-7.5#engine-improvements).
116
+
>[!NOTE]
117
+
> In PowerShell 7.5, array addition was optimized and no longer creates a new array for each
118
+
> operation. The performance considerations described here still apply to PowerShell versions
119
+
> prior to 7.5. For more information, see [What's New in PowerShell 7.5][01].
117
120
118
121
Array addition is inefficient because arrays have a fixed size. Each addition to the array creates
119
122
a new array big enough to hold all elements of both the left and right operands. The elements of
@@ -882,21 +885,22 @@ Iterations Test TotalMilliseconds RelativeSpeed
0 commit comments