[Follow-up] Investigate if we need to optimize EntityInterface::setOriginal() to only clone when not set

Created on 30 November 2024, 19 days ago

Problem/Motivation

There is a case to be made to optimize setOriginal that was introduced in the parent issue. See https://git.drupalcode.org/project/drupal/-/merge_requests/5850#note_311862

This might be worth it to save the overhead of cloning in some cases.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.1 🔥

Component

entity system

Created by

🇳🇱Netherlands bbrala Netherlands

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

Comments & Activities

Production build 0.71.5 2024