• DocumentCode
    684735
  • Title

    Fast string matching algorithms for very short patterns

  • Author

    Zhou Yao ; Fan Hongbo ; Liu Lijun ; Huang Qingsong

  • Author_Institution
    Dept. of Comput. Sci., Kunming Univ. of Sci. & Technol., Kunming, China
  • fYear
    2012
  • fDate
    7-9 Dec. 2012
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    Exact single pattern string matching is a fundamental problem in computer science. To date, the performance of existing string matching algorithms for very short patterns is poor. In this article, based on the most basic exact single pattern string matching algorithm-BF, we presented a serial improved algorithms named HBF by introducing the q-grams method, the loop unrolling method, and modifying the smallest processing unit from byte to integer. Experimental results indicated that HBF is obviously faster than known algorithms for very short patterns on our platform. Meanwhile, the pre-processing phase of HBF just need constant time and space, the worst and the best time complexity are linear and O(n/w), separately, which w is the number of characters involved in an integer.
  • Keywords
    string matching; HBF; best time complexity; computer science; exact single pattern string matching; fast string matching algorithms; loop unrolling method; q-grams method; very short patterns; algorithm design; exact single pattern; string matching algorithm; very short patterns;
  • fLanguage
    English
  • Publisher
    iet
  • Conference_Titel
    Information Science and Control Engineering 2012 (ICISCE 2012), IET International Conference on
  • Conference_Location
    Shenzhen
  • Electronic_ISBN
    978-1-84919-641-3
  • Type

    conf

  • DOI
    10.1049/cp.2012.2321
  • Filename
    6755700