Skip to content
/ istrstr Public

SIMD-accelerated string searching / proof of concept

License

Notifications You must be signed in to change notification settings

rdbuf/istrstr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem: search fast in multiple GB's of text.
Concept: perform a 2-pass search consisting of
    1) a SIMD-powered filter for 4-byte prefixes
    2) and a slower full string search.
Current SOTA for 1:
    - (case-sensitive)   4.465356282457702 bytes/cycle, 13.333333333333334 GB/s
    - (case-insensitive) 3.668801996256802 bytes/cycle, 10 GB/s
Measured on MBP 15 2019.

About

SIMD-accelerated string searching / proof of concept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published