rmuir commented on issue #11788:
URL: https://github.com/apache/lucene/issues/11788#issuecomment-1255064053

   i'd prefer not changing anything without addressing the testing. I need to 
reiterate just how insanely trappy antlr v4 is.  for painless to work with v4 
and prevent insanely slow performance we used some tricks to fail tests instead 
of doing slow things: 
https://github.com/opensearch-project/OpenSearch/blob/main/modules/lang-painless/src/main/java/org/opensearch/painless/antlr/Walker.java#L224-L245
   
   It is still not as good as "compile-time" checking of the grammar, because 
you need 100% test coverage to ensure things never go slow.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to