Skip to content

Use APCU instead of classmap for composer #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Use APCU instead of classmap for composer #1

wants to merge 2 commits into from

Conversation

Pierstoval
Copy link
Contributor

As you sweat to install APCU in the docker image, I think it might be a better idea to rely on apcu for autoload rather than classmap, because we can't use both, and apcu might be faster because memory.

What do you think?

@dunglas
Copy link
Owner

dunglas commented May 31, 2017

IIRC, classmap is faster than APCu because of the opcache. But I'm not sure :)

@Pierstoval
Copy link
Contributor Author

Pierstoval commented May 31, 2017

No, you're right. I made this PR before learning that APCu class loader is useless with PHP7 because opcache works very well 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants