2 ms·
The official repo[1] is looking pretty dead. Edit: This is a surprisingly heavy build. Over 15 minutes on my somewhat older i5. I suggest using make -j inste
by jandrese 4y ago
The official repo[1] is looking pretty dead.
Edit: This is a surprisingly heavy build. Over 15 minutes on my somewhat older i5. I suggest using make -j instead of cmake -build to speed it up. Decent number of compiler warnings too.
[1] https://github.com/intel/hyperscan https://github.com/intel/hyperscan
- Cu3PO42 4y agoIn sufficiently new versions of cmake you can use cmake --build -j as well. It will be translated to whatever argument is required for the underlying build system to use parallel compilation, e.g. -j for make and -m for msbuild.
- jandrese 4y agoIt just seemed excessive for a regular expression library. For comparison the most recent version of PCRE built in almost exactly 26 seconds. Sadly the hyperscan build crapped out for me in the linking phase, failing to find a bunch of coreX and avx optimized memset functions.