{"id":"2011.04010","title":"Scout Algorithm For Fast Substring Matching","authors":["Anand Natrajan","Mallige Anand"],"categories":["cs.AI","cs.DS"],"primary_category":"cs.AI","first_posted":"2020-11-08","updated":"2020-11-08","url":"https://arxiv.vip/abs/2011.04010","arxiv_url":"https://arxiv.org/abs/2011.04010","pdf_url":"https://arxiv.org/pdf/2011.04010","comment_count":0,"abstract":"Exact substring matching is a common task in many software applications. Despite the existence of several algorithms for finding whether or not a pattern string is present in a target string, the most common implementation is a naïve, brute force approach. Alternative approaches either do not provide enough of a benefit for the added complexity, or are impractical for modern character sets, e.g., Unicode. We present a new algorithm, Scout, that is straightforward, quick and appropriate for all applications. We also compare the performance characteristics of the Scout algorithm with several others.","arxiv_comments":"26 pages","journal_ref":null,"doi":null,"license":"http://creativecommons.org/licenses/by/4.0/","versions":1,"discussion_url":"https://arxiv.vip/abs/2011.04010#discussion"}