gannan08 / rdf-canonize-rs

Please see https://github.com/digitalbazaar/rdf-canonize-rs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

More on regex #19

Open mattcollier opened 3 years ago

mattcollier commented 3 years ago
mattcollier commented 3 years ago

@gannan08 I added build instructions for hyperscan with chimera, please give that a try at your convenience:

https://github.com/mattcollier/rust-hyperscan-test#build-hyperscan-with-chimera

After you've done that, I'm not sure if doing this command (applying changes for your path) will just work or what.

https://github.com/mattcollier/rust-hyperscan-test#benches

Also, I installed this libhyperscan-dev package on ubuntu: https://launchpad.net/ubuntu/+source/hyperscan

I expect that's the same software that comes from doing the build from source. Perhaps a make install at the end would be an appropriate step for your system if you can't get this package otherwise. I have never done a make install from hyperscan/build myself.

mattcollier commented 3 years ago

Turns out google has their own RE2 regex engine, see RE2 vs Hyperscan: https://01.org/hyperscan/blogs/jpviiret/2017/regex-set-scanning-hyperscan-and-re2set