comunica / sparqlee

⚙️ SPARQL expression evaluator library - Moved to @comunica/expression-evaluator
https://www.npmjs.com/package/sparqlee
14 stars 7 forks source link

Feature/add experimental mode #117

Closed jitsedesmet closed 3 years ago

jitsedesmet commented 3 years ago

This pull request aims to provide a flag that enables the new type system. This new type system is needed to use some type promotion and type substitution. It is also essential to enable the flag when using getSuperType. The new type system is more powerful and more spec complaint. It is yet somewhat slower than what we had. This can be seen in this comment https://github.com/comunica/sparqlee/pull/112#discussion_r695577156. This flag makes the use of the new type system opt-in. It would be nice if we found a way to optimize the new system so we could make the new type system default.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-1.2%) to 89.341% when pulling 48db18b172c54fe9f1376b83e244981de05f1407 on jitsedesmet:feature/add-experimental-mode into fa38d5074a4066223ab571104adf8f559e1d646a on comunica:master.