[EXT_EP-9407] Initializing function objects causes compilation to take much longer Created: 11/Jul/19 Updated: 19/Feb/20 Resolved: 11/Jul/19 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-6452 |
Forum URL: | https://e2e.ti.com/support/processors/f/791/t/819143 |
Found In Release: | C6000_8.2.0 C6000_8.3.0 |
Fix In Release: | C6000_8.3.5 C6000_8.2.8 |
Affected Platform/Device: | default |
Workaround: | Use --no_compress to reduce the time of the compressor stage. Use a cut-down implementation of std::function to reduce the rest of the compile time by compiling less code. |
Release Notes: | The implementation of std::function brings in a lot of template code, and that takes a long time to compile. We've improved the speed of the C6x compression stage, but further improvements will require serious enhancement effort.
In the meantime, the speed can be improved by adding the --no_compress option to inhibit that stage and by using a cut-down implementation of std::function to reduce the size of the compiled file. |
Description |
Initializing function objects causes compilation to take much longer |