News Score: Score the News, Sort the News, Rewrite the Headlines

SIMD-friendly algorithms for substring searching

Author: Wojciech Muła Added on:2016-11-28 Updated on:2018-02-14 (spelling), 2017-04-29 (ARMv8 results) Introduction Popular programming languages provide methods or functions which locate a substring in a given string. In C it is the function strstr, the C++ class std::string has the method find, Python's string has methods pos and index, and so on, so forth. All these APIs were designed for one-shot searches. During past decades several algorithms to solve this problem were designed, an excell...

Read more at 0x80.pl

© News Score  score the news, sort the news, rewrite the headlines