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

Apache Spark commented on SPARK-22669:
--------------------------------------

User 'mgaido91' has created a pull request for this issue:
https://github.com/apache/spark/pull/19860

> Avoid unnecessary function calls in code generation
> ---------------------------------------------------
>
>                 Key: SPARK-22669
>                 URL: https://issues.apache.org/jira/browse/SPARK-22669
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Marco Gaido
>
> In many parts of the codebase for code generation, we are splitting the code 
> to avoid exceptions due to the 64KB method size limit. This is generating a 
> lot of methods which are called every time, even though sometime this is not 
> needed. As pointed out here: 
> https://github.com/apache/spark/pull/19752#discussion_r153081547, this is a 
> not negligible overhead which can be avoided.
> In this JIRA, I propose to use the same approach throughout all the other 
> cases, when possible. I am going to submit a PR soon.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to