Github user alpinegizmo commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4041#discussion_r119878726
  
    --- Diff: docs/dev/libs/cep.md ---
    @@ -168,33 +256,34 @@ start.where(
     </div>
     </div>
     
    -<span class="label label-danger">Attention</span> The call to 
`Context.getEventsForPattern(...)` has to find the 
    -elements that belong to the pattern. The cost of this operation can vary, 
so when implementing your condition, try 
    -to minimize the times the method is called.
    +<span class="label label-danger">Attention</span> The call to 
`context.getEventsForPattern(...)` finds all the 
    +previously accepted events for a given potential match. The cost of this 
operation can vary, so when implementing 
    +your condition, try to minimize the times the method is called.
    --- End diff --
    
    ... try to minimize its use.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to