1 pages tagged with "performance"
Never use array_merge in a loop
November 10, 2020Using array_merge inside a loop is a performance killer. The spread operator will help you to improve this by flatting the array.
Using array_merge inside a loop is a performance killer. The spread operator will help you to improve this by flatting the array.