[ 
https://issues.apache.org/jira/browse/FLINK-33665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17790452#comment-17790452
 ] 

Matthias Pohl edited comment on FLINK-33665 at 11/28/23 9:08 AM:
-----------------------------------------------------------------

Thanks [~Peihui] for raising this issue.

[~dwysakowicz] could you give your thoughts on that one?


was (Author: mapohl):
[~dwysakowicz] could you give your thoughts on that one?

> Invalid code execution
> ----------------------
>
>                 Key: FLINK-33665
>                 URL: https://issues.apache.org/jira/browse/FLINK-33665
>             Project: Flink
>          Issue Type: Improvement
>          Components: Library / CEP
>            Reporter: Peihui He
>            Priority: Minor
>         Attachments: image-2023-11-27-20-00-28-715.png, 
> image-2023-11-27-20-00-59-544.png
>
>
> !image-2023-11-27-20-00-28-715.png!
> !image-2023-11-27-20-00-59-544.png!
> As shown in the above pictures, 
> {code:java}
> // code placeholder
> nfaState.getPartialMatches()
>                 .removeIf(pm -> pm.getStartEventID() != null && 
> !partialMatches.contains(pm)); {code}
> This code is unnecessary. After method processMatchesAccordingToSkipStrategy, 
>  
> {code:java}
> // code placeholder
> nfaState.setNewPartialMatches(newPartialMatches) {code}
> It is very time-consuming when there are many partial matches.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to