rdf4j icon indicating copy to clipboard operation
rdf4j copied to clipboard

Add caching to StatementConvertor

Open hmottestad opened this issue 1 year ago • 0 comments

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.

hmottestad avatar Apr 17 '23 05:04 hmottestad