Oleg Smirnov created FLINK-23907:
------------------------------------

             Summary: Type Migration: introducing primitive functional 
interfaces
                 Key: FLINK-23907
                 URL: https://issues.apache.org/jira/browse/FLINK-23907
             Project: Flink
          Issue Type: Improvement
            Reporter: Oleg Smirnov


Hey! 

We are a group of researchers, and we are testing our data-driven 
[plugin|https://github.com/JetBrains-Research/data-driven-type-migration], 
which is based on the IntelliJ's [Type 
Migration|https://www.jetbrains.com/help/idea/type-migration.html] framework 
and adjusts it using custom structural-replace templates that express the 
adaptations required to perform the type change.

I want to apply several type changes using it and open the PR, thus introducing 
primitive functional interfaces in order to prevent unnecessary boxing (like 
BooleanSupplier instead Supplier<Boolean>, OptionalInt instead of 
Optional<Integer>, etc. ), since it can affect the performance of the code 
(Effective Java, Items 44, 61).

The patch itself is already prepared, so I guess I will need to open this 
ticket, receive your approval, and then open the PR?

Thank you in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to