Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed RDF::Enumerable#{statements,triples,quads,subjects,predicates…
…,objects,contexts} to return enumerators instead of arrays. Pervasively using enumerators instead of arrays facilitates dealing with larger resultsets, enabling optimizations for both memory usage and (in the case of remote repositories) bandwidth utilization. If you really need the previous behavior of an array result, you need simply call #to_a on the returned enumerator object.
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters