You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (JIRA)" <ji...@apache.org> on 2017/12/09 03:49:00 UTC
[jira] [Created] (FLINK-8227) Optimize the performance of
SharedBufferSerializer
Dian Fu created FLINK-8227:
------------------------------
Summary: Optimize the performance of SharedBufferSerializer
Key: FLINK-8227
URL: https://issues.apache.org/jira/browse/FLINK-8227
Project: Flink
Issue Type: Bug
Components: CEP
Reporter: Dian Fu
Assignee: Dian Fu
Currently {{SharedBufferSerializer.serialize()}} will create a HashMap and put all the {{SharedBufferEntry}} into it. Usually this is not a problem. But we obverse that in some cases the calculation of hashCode may become the bottleneck. The performance will decrease as the number of {{SharedBufferEdge}} increases. For looping pattern {{A*}}, if the number of {{SharedBufferEntry}} is {{N}}, the number of {{SharedBufferEdge}} is about {{N * N}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)