perf: improve performance of array_repeat function
#20049
+590
−84
Loading