array_merge() in a loop is slow

Created on 15 July 2022, almost 2 years ago
Updated 11 October 2023, 9 months ago

Problem/Motivation

array_merge() in a loop is slow (Sorry for the brief description :) The fix is also going to be small...)

Steps to reproduce

Proposed resolution

Use the spread operator.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024