Re: compile time of code using long tuples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 May 2022, 19:13 Foelsche, Peter, <Peter_Foelsche@xxxxxxxxxx>
wrote:

> I'm the author of some software which dumps out C++ code to be compiled
> with g++.
> This code sometimes contains many different and many long tuples. I
> deduced that long tuples cause rather long compile times.
> I already wrote some compression, which collects identical entries in such
> a tuple and moves them into an array.
> But this compression reduces (run-time) performance.
> I already wrote different tuple implementations, and one of the compiles
> much faster than the regular provided std::tuple.
> What could be the criterium for such a tuple implementation, which makes
> g++ take more or less compile time assuming the same code using this tuple?
>

Identical object layout on all targets, meaning size, alignment, base-class
order, etc. It needs to be ABI-compatible.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux