Jeffery Felce
Jeffery Felce
Oh, no worries ... I just thought you may find something helpful in the observations. What you do with them, if anything, is up to you. :)
Just out curiosity, why would you want this functionality? How would you use it?
Just to be clear, I am not the author of CloneExtensions, I am just an interested second party. A code sample of what you are attempting to accomplish may go...
Marcin, you are correct. I had never thought of doing what you showed here. In order to fix that, the depth of each property needs to be known. I have...
Have you had a chance to review this Marcin?
Welcome back Marcin! I believe Issue #7 is about support for polymorphism. I will begin work on it soon, I will make sure to add benchmarks so we have an...
I think the cloning of fields should work just fine ... but is that the reason for the speed increase, or is that due to the fact he is using...
``` | Method | Mean | Error | StdDev | Median | Gen 0 | Gen 1 | Gen 2 | Allocated | |--------------------------------------------- |----------------:|--------------:|---------------:|----------------:|---------:|---------:|---------:|----------:| | SimpleClass_CloneExt | 187.98 ns...
I have a sneaking suspicion that part of the reason for the speed increase and memory footprint is due to the CopyContext. When the dictionary starts to fill up, it...
Another observation: DeepCopy looks at the inheritance tree to determine if a class "NeedsTracking". If a class "NeedsTracking" the CopyContext is checked for its existence and is also updated with...