arne-bdt commented on PR #1918:
URL: https://github.com/apache/jena/pull/1918#issuecomment-1605298970

   To exclude the parsing part from the benchmarks, I usually parse the triples 
directly into an ArrayList first:
   ```
   public List<Triple> readTriples(String graphUri) {
           var list = new ArrayList<Triple>();
           var g1 = new GraphMem() {
               @Override
               public void add(Triple t) {
                   list.add(t);
               }
           };
           RDFDataMgr.read(g1, graphUri);
           return list;
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to