Github user jkirsch commented on the pull request:
https://github.com/apache/incubator-flink/pull/187#issuecomment-62133790
Thanks for having a look at the code
Indeed the Set approach is nicer to read but there is a performance penalty
incurred
I just ran a simple caliper benchmark and on my machine the set approach is
about 10x slower, so I fixed that.
https://microbenchmarks.appspot.com/runs/b3ab8918-7226-4527-b019-c622a728d144
---
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.
---