Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

samsonasik
Copy link
Member

spl_object_id() is exists since php 7.2, I think we can use spl_object_id().

Refs:

Benchmark

Before call in loop took: 13.639ms

https://3v4l.org/4rUL4

After call in loop took: 4.835ms

https://3v4l.org/jKtO6

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@TomasVotruba
Copy link
Member

Looks good, thanks 👍

Go for merge when ready!

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.

3 participants