WyriHaximus · GitHub

@WyriHaximus

Copy link Copy Markdown

Member

No description provided.

…lve process and go straight to the global function

@WyriHaximus

jsor

jsor approved these changes Oct 4, 2018

@clue clue added this to the v0.5.1 milestone

Oct 4, 2018

clue

clue approved these changes Oct 4, 2018

@clue

@nicolas-grekas

Copy link Copy Markdown

For the record: except for a limited list of special functions, adding a leading \ to function calls provides no measurable benefit. There is zero performance improvement from these. Since this worsen readibility, I'm on the side this is undesired. (just saying; my opinion has no importance here :) )

@WyriHaximus

Copy link Copy Markdown

Member Author

@nicolas-grekas In the long term I'd prefer to go with use function abc; over \abc(); for readability. Thank you for that list I was unaware of that. There are some situations where we did gain a significant performance gain from doing this so I'll investigate that.

P.S. As far as I'm concerned everyone's opinion is considered and kept in mind. But we can't guarantee we agree or act on them.

Read the original on github.com ↗