a C# embeddable lexer and parser generator (.Net core)
fix #447
fix #443
Fix #441
⚠️ breaking change
Opt-In optimizations Makes optimization opt-ins as they can induce performances drop in some cases.
⚠️UseMemoization was enabled by default since 2.7.0 so you may need to reanbled it (see wiki page)
Performance release. GenericLexer optimisation. Missing bit for 3.0.0
Benchmark between 2.9.9 and 3.0.1 using https://github.com/b3b00/csly/tree/v3.0.1/src/bench
Method | Job | NuGetReferences | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
---|---|---|---|---|---|---|---|---|
TestJson | 2.9.9 | sly 2.9.9 | 1,163.3 ms | 93.47 ms | 139.90 ms | 513000.0000 | 1000.0000 | 2061.69 MB |
TestJson | 3.0.1 | sly 3.0.1 | 382.0 ms | 30.50 ms | 43.75 ms | 150000.0000 | 1000.0000 | 608.15 MB |
Performance release Generic Lexer is now faster particularly when using token channels