FrederikP edited a comment on issue #3500: NIFI-6322: Reuse evaluator stored in 
CompiledExpression when creating a query.
URL: https://github.com/apache/nifi/pull/3500#issuecomment-496962921
 
 
   > Did you ever get an answer as to _why_ it works like it does to start with?
   
   No I didn't. I just thought it might be a good idea to clarify my initial 
report with a pull request. Especially since I had to get to know the code 
anyway to even open the ticket and describe the issue as best as I could. Last 
time I found a performance issue in NiFi it helped to include a possible fix 
via pull request.
   
   Do you know why it works like that or why do you ask?
   
   Edit: If I had to naively guess: I'd say this was an oversight. For me the 
current behaviour of re-building the evaluator from the tree for every 
iteration just doesn't make sense. But I'd be intrigued to find out if it is 
intended and why.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to