Closed DaSourcerer closed 9 years ago
Instead of searching through the input entirely character-wise in PHP userland, we could let strcspn() do the job. Runtimes of the testsuite greatly fail to reflect this, but this is great for longer, more complex input.
strcspn()
lgtm besides some style nitpicking
Just addressed the style issues in 0a52d00 and 87e2c8e
Instead of searching through the input entirely character-wise in PHP userland, we could let
strcspn()
do the job. Runtimes of the testsuite greatly fail to reflect this, but this is great for longer, more complex input.