File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ If you search for original library, see [this page](http://www.inf.puc-rio.br/~r
33
44This fork contains some experimental optimizations to the original LPeg
55library. It's a drop-in replacement and does not change pattern semantics,
6- it just optimize them, on demand.
6+ it just optimize them, on demand. The optimization ratio can be
7+ [ huge] ( http://mille337.net/index.php?d=2015/02/28/11/01/02-lets-optimize-lpeg---part-4-conclusion-and-benchmarks )
8+ (hundreds of times faster in most favorable cases).
79
810# Introduction
911
@@ -26,9 +28,13 @@ There is also some optimization to the LPeg VM diriectly: the `ITestVector`
2628has been added to test all alternatives in one go for the current character
2729rather than each alternative separately.
2830
29- This is currently a work in progress and is considered unstable. More
30- documentation and benchmarks will come in the next few weeks. The optimization
31- ratio depends on the kind of patterns, but it can be up to 500 times faster !
31+ This is currently a work in progress and is considered unstable. If you find a
32+ bug, or if optimization changes your pattern semantics an any way: please send
33+ a bug report.
34+
35+ If you're interested in details about this work, you may want to read these
36+ [ blog articles] ( http://mille337.net/index.php?d=2015/02/22/14/28/35-lets-optimize-lpeg---part-1-introduction )
37+ about the design and results of these optimizations.
3238
3339# Usage
3440
You can’t perform that action at this time.
0 commit comments