3 Oct
2022
3 Oct
'22
5:57 p.m.
Hello, I just posted a question on StackOverflow, but I realised that this mailing list might be a better place. The link to the question is: https://stackoverflow.com/questions/73938656/very-slow-destructors-of-binary... Tl;dr; I have a code that serializes a big object by using binary_oarchive and filtering_bufstream. The writing on its own takes around 28 minutes, but the deconstructors of the mentioned classes take 37 and 36 minutes, respectively. It is very strange to me that they would take so much time to run, as the first deconstructor adds only 2KiB of data, and the second deconstructor doesn't change anything. Could you help me find the root cause of those execution times?