GitHub user afs added a comment to the discussion: Why is Quad not a composition of the graph Node + Triple?
I'm not clear what- overall - the optimizations would be. Maybe if you could give an example of your usage patterns - and which Dataset(Graph) implementations are you thinking of? On 1 - doesn't that add an object indirection to access parts of the quad? (in another programming language it could be a struct ... but) On 3 - if you have a triple, using `DatasetGraph.getDefaultGraph().add(Triple)`, or `.getGraph(Node)` and a triple supporting dataset can avoid the quad. GitHub link: https://github.com/apache/jena/discussions/3967#discussioncomment-17157916 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
