I have some code where I frequently copy a large block of memory, often after making only very small changes to it.
I have implemented a system which tracks the chan
Depending on what exactly it is that you are copying, a persistent data structure might be a solution for your problem.