Re:Important PostgreSQL 14 update to avoid silent corruption...
by colordrops on Thursday June 09, 2022 @11:11PM
(#31689536)
Seems like something the compiler should take care of.
Re:Important PostgreSQL 14 update to avoid silent corruption...
by fjfbsufhdvfy on Friday June 10, 2022 @12:43AM
(#31690138)
It can when you use LTO, but that tends to be very slow for large programs.
Re:Important PostgreSQL 14 update to avoid silent corruption...
by plq on Friday June 10, 2022 @06:57AM
(#31692362)
It is slow. Our (C++) project's MSVC release build ends with a glorious 2-minute run of link.exe with lto (/LTCG /O2) and aggressive inlining (/Ob3) enabled.
Limiting unit size in C++ helps with faster edit/compile/run cycles as well, which doesn't seem to be concern for C codebases in 21st century.
[1]: https://www.sqlite.org/amalgamation.html