reactphp / promise

Promises/A implementation for PHP.
https://reactphp.org/promise/
MIT License
2.38k stars 146 forks source link

Improve performance by prefixing all global functions calls with \ to skip the look up and resolve process and go straight to the global function #133

Closed WyriHaximus closed 5 years ago

WyriHaximus commented 5 years ago

Just as previous PR's like https://github.com/reactphp/socket/pull/183 and https://github.com/reactphp/stream/pull/137 this prefixes all global functions and constants with a \ to gain a small performance boost