Skip to content
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

Optimisation no functionality change #48

Merged
merged 1 commit into from
Apr 22, 2017
Merged

Conversation

lunixyacht
Copy link

add global namespace to each php function so internaly php as to to check if function exist in sabre namespace before using function in global namespace
Your benchmarks are X2 better ...
http://php.net/manual/en/language.namespaces.rules.php

Sorry for wrong commit (i'm a beginner)

add global namespace to each php function so internaly php as to to cheack if function exist in sabre namespace before using function in global namespace
Your benchmarks are X2 better ...
http://php.net/manual/en/language.namespaces.rules.php
@evert evert merged commit 548d570 into sabre-io:master Apr 22, 2017
@evert
Copy link
Member

evert commented Apr 22, 2017

You weren't kidding! It's significantly faster

@lunixyacht
Copy link
Author

I didn't check memories in this case, but you probably make economies
Thank for your job.

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

Successfully merging this pull request may close these issues.

2 participants