grammars: add troubleshooting section to readme
This commit is contained in:
parent
928e0b7013
commit
0d1d46ef1d
1 changed files with 1 additions and 1 deletions
|
@ -98,4 +98,4 @@ Grammars currently have performance gotchas (see https://github.com/ggerganov/ll
|
|||
|
||||
A common pattern is to allow repetitions of a pattern `x` up to N times.
|
||||
|
||||
While semantically correct, the syntax `x? x? x?.... x?` (with N repetitions) will result in extremely slow inference. Instead, you can write `(x (x (x ... (x)?...)?)?)?` (w/ N-deep nesting)
|
||||
While semantically correct, the syntax `x? x? x?.... x?` (with N repetitions) will result in extremely slow inference. Instead, you can write `(x (x (x ... (x)?...)?)?)?` (w/ N-deep nesting)
|
Loading…
Add table
Add a link
Reference in a new issue