Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Zend\Loader\ClassMapAutoloader - Performance improvement #5716

@fedys

Description

@fedys

array_merge() in Zend\Loader\ClassMapAutoloader::registerAutoloadMap() method causes significant performace lost. Replace $this->map = array_merge($this->map, $map); with foreach ($map as $key => $value) { $this->map[$key] = $value; }.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions