More greppin speedup trickery
2020-9-30 11:36:0 Author: c-skills.blogspot.com(查看原文) 阅读量:5 收藏

super fast, so I refactored grab a bit to make it possible

to load different regex engines at runtime for speed comparison.

compared it to my greppin branch. Enjoy!

Still need to check whether and how it would be possible to

vectorize the matching on files to fully exploit SIMD. Will

keep you updated!

Update:I checked the code of hs_scan_vector() and it's just

iterating over the scatter array and calling internal scan

functions on it. I thought it could be using SIMD for it too,

but I was stupid. So, no more speedup on that front.

While digging into that topic, I noticed that apparently quite

lot of NIDS technology is still relying on regexes in 2020 (lol).


文章来源: https://c-skills.blogspot.com/2020/09/more-greppin-speedup-trickery.html
如有侵权请联系:admin#unsafe.sh