Micro-optimise Container::get()

Created on 2 April 2024, 4 months ago
Updated 3 April 2024, 4 months ago

Problem/Motivation

The DI container is central to Drupal and profiling shows that we make a lot of calls to the container, often recursively, so we should consider optimising it if possible. There are some trivial improvements we can make and probably some others that can help too.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Closed: won't fix

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 8 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024