You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The large file which inclusions are to be reviewed: <iostream>, <vector>, <string> and, possibly, <algorithm>.
Examples:
<iostream> is included in core/include/math/hal/intnat/ubintnat.h, core/include/lattice/hal/default/poly-impl.h, etc. it potentially slows down the compilation.
Forward declarations of I/O stream types from <iostream>, then include <iosfwd>.
Forward declaration for std::vector:
namespace std {
template <typename T> class vector;
}
or
#include // std::allocator
namespace std {
template <typename T, typename Allocator = std::allocator<T>> class vector;
}
The text was updated successfully, but these errors were encountered:
dsuponitskiy
changed the title
Remove includes of quite large files if they are not needed to descrease compilation time
Remove includes of quite large files if they are not needed to descrease compilation time and some obsolete code from memory.h
Oct 30, 2024
The large file which inclusions are to be reviewed: <iostream>, <vector>, <string> and, possibly, <algorithm>.
Examples:
<iostream> is included in core/include/math/hal/intnat/ubintnat.h, core/include/lattice/hal/default/poly-impl.h, etc. it potentially slows down the compilation.
Forward declarations of I/O stream types from <iostream>, then include <iosfwd>.
Forward declaration for std::vector:
namespace std {
template <typename T> class vector;
}
or
#include // std::allocator
namespace std {
template <typename T, typename Allocator = std::allocator<T>> class vector;
}
The text was updated successfully, but these errors were encountered: