On Mon Mar 11 15:40:55 2024 +0000, Nikolay Sivov wrote:
Could you please open a separate MR to preserve topology id for resolved topology? To fix that I think we should sacrifice a bit of overhead, and maybe use CloneFrom(), followed by Clear(). I don't think there is another way to preserve this id. I'll take a look at refcounting problem you found.
I created MR !5281 , I didn't make use of CloneFrom() though. I created a private function so we can create a topology with a set topoid.