Skip to content

Best performance with strpos and substr

Latest
Compare
Choose a tag to compare
@pejman-hkh pejman-hkh released this 14 Feb 19:54
· 5 commits to main since this release

In this version, I used substr and strpos instead of concatenating strings and finding a char in the string for better performance.
At the end I get 2x faster performance.