yype

Results 6 comments of yype

Dup of https://github.com/nginx/njs/issues/531?

@HarlonWang Your analysis and the suggested fix make sense. Thank you for digging into this! :) P.S. If you have time, I think you can submit the fix as a...

> @yype I fixed it by adding simple judgment, The test passed and was quoted [in my own project](https://github.com/HarlonWang/quickjs-android-wrapper/commit/fd760819ac8135c52254bbadc43e1efe65e53f1e). > > ```java > if (s->token.val == '[' || s->token.val ==...

Another shorter crash sample: ``` CREATE GRAPH network; SET graph_path = network; CREATE (node_0{})--(:label7); MATCH path_0 = (node_0{prop6:node_1.prop9}), path_1 = (node_1{}) WHERE node_1.prop5 < node_1.prop5 OR node_1.prop2 >= TRUE MERGE...

I've met a similar issue that lots of optional terminal string literals in one rule will hugely slow down the parser generation.

This happened to my Chrome extension as well. Uninstalling and reinstalling the extension fixed the issue. However, it only worked for a couple of hours before the issue came back....