yuxiqian opened a new pull request, #3454: URL: https://github.com/apache/flink-cdc/pull/3454
This closes FLINK-35762. As previously discussed offline with @lvyanquan, HashMap lookup could be slow since we must calculate key hash code every time, though most key objects are immutable. A common practice in Java world is caching object hash code in a transient field, just like what `java.lang.String` does. In CDC code, `TableId` & transform rule types are frequently used as HashMap key type, and their hash code could be safely cached since their instances are immutable. -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org