Skip to content

Commit 7035b10

Browse files
committed
correct misleading indication of parsing speed in README
1 parent 9fdc817 commit 7035b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A PHP library for the [KDL Document Language](https://kdl.dev) (pronounced like
88

99
For now, this library only supports parsing.
1010

11-
Parsing is slow for now - for example, parsing a 45 line file with a tree depth of 5 is likely to take 250-300ms. This library favours correctness over performance - however, the aim is to optimise the parsing to a point of reasonable speed.
11+
Parsing is quite slow for now - for example, parsing a 45 line file with a tree depth of 5 is likely to take about 60ms. This library favours correctness over performance - however, the aim is to optimise the parsing to a point of reasonable speed.
1212

1313
The parser uses [Parsica](https://parsica.verraes.net/) as an underlying parsing library in order to map fairly directly and clearly onto the published KDL grammar - Parsica uses FP principles, and one result of this is that the call stack depth used during parsing may be high. Be warned if you are using e.g. xdebug, as parsing may exceed any normal maximum stack depth that you may set.
1414

0 commit comments

Comments
 (0)