Skip to content

Commit

Permalink
TriGParser::CHUNK_SIZE: reduce the chunk size to avoid regex issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Feb 13, 2024
1 parent 5d00d56 commit 8f29d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickRdfIo/TriGParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TriGParser implements iParser, iQuadIterator {

use TmpStreamParserTrait;

private const CHUNK_SIZE = 8192;
private const CHUNK_SIZE = 4096; // if it's too big, the regexp used by the hardf to match the prefixed URIs may not match

private iDataFactory $dataFactory;

Expand Down

0 comments on commit 8f29d96

Please sign in to comment.