rdf4j
rdf4j copied to clipboard
Add caching to StatementConvertor
StatementConvertor is used to create lambdas that create BindingSets instances from Statements, for all combinations of SPOC.
The context caches the hasBinding
and addBinding
lambdas.
We could move the StatementConvertor code into the Context class and cache the lambdas so that the JVM only needs to optimise the code once.