You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/12/23 22:42:00 UTC
[jira] [Resolved] (IMPALA-1112) Remove unnecessary boost/std/misc
functions from the cross compiled module.
[ https://issues.apache.org/jira/browse/IMPALA-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-1112.
-----------------------------------
Fix Version/s: Impala 2.7.0
Resolution: Fixed
> Remove unnecessary boost/std/misc functions from the cross compiled module.
> ---------------------------------------------------------------------------
>
> Key: IMPALA-1112
> URL: https://issues.apache.org/jira/browse/IMPALA-1112
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 1.4
> Reporter: Nong Li
> Assignee: Michael Ho
> Priority: Major
> Labels: codegen
> Fix For: Impala 2.7.0
>
>
> The module has a init section for initializing static vars. If we include something that contains a static boost/std object, this could pull in a lot of code that we don't need. This code cannot be removed by the internalize optimization pass and results in high compile time.
> As an example, removing the timestamp functions changed compile time from ~700ms -> 70ms. Even with that, we still have random boost functions in there that we are compiling for every query. It's a little tricky to figure out how to organize the includes though.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)