Skip to content

Avoid touching each_statement on initialization

tamsin woo requested to merge feature/performance-refactor into develop

Created by: no-reply

We previously called RDFSource#set_subject! on initialization, which loops through all statements. This can be costly on larger graphs, and isn't necessary. Instead, we can simply set the @rdf_subject directly.

Merge request reports

Loading