1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-16 14:32:24 +00:00
Commit graph

1 commit

Author SHA1 Message Date
AnotherTest
036b39cdfd AK: Implement memmem() for iterator haystacks
This uses the KMP algorithm to implement the search.
Also replaces the slow route of the normal memmem() with KMP, which
should be fairly faster (O(n + m) as opposed to O(n * m)) :^)
2020-12-08 23:34:38 +01:00