Catalog · How the catalog works
simdjson_pas
Wraper for simdjson library what exports a C style function
- ★ 2 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
simdjson_pas
Wraper for simdjson library what exports a C style validate_utf8 function,
ready to be used in FreePascal programs.
For Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz validation speed is ~43.2 GB/s
How to build
- copy (or symlink)
simdjson.cppandsimdjson.hfrom https://github.com/simdjson/simdjson/tree/master/singleheader into lib folder - run lib/build.sh to build a c wrapper for C++ simdjson
How to use in FPC program
Usage sample (and speed test) is in utf8validate.lpr.
Sample can be compiled using build_fpc.sh (expect mORMot1 to be copied or sym-linked into ./lib/Synopse)
For realistic speed test pass a path to a big valid UTF8 file as program parameter.

