comunica / validate-iri.js

Library to validate IRIs according to RFC 3987
MIT License
4 stars 2 forks source link

Adds strict IRI validation following RFC 3987 #11

Closed Tpt closed 2 years ago

Tpt commented 2 years ago

Benchmark results:

rubensworks commented 2 years ago

Ok, so strict validation is ~20 times slower, which is quite a lot. But ok, at least we know that.

Once this is merged, could you also do a quick perf check when this is plugged into the RDF/XML parser (with strict IRI validation enabled)? Perhaps the overhead compared to parsing is lower.