Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Approach 09: Use memchr and loop instead of split (71s)
Use memchr instead of split. memchr uses SIMD for faster seraching of needle in the haystack. The split function is slow because it contructs the split parse everytime it is called. Few links to read more: * https://github.com/BurntSushi/memchr * https://blog.burntsushi.net/bstr/#motivation-based-on-performance
- Loading branch information