Can I do a copy-on-write memcpy in Linux?

后端 未结 6 1294
面向向阳花
面向向阳花 2020-12-01 02:47

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

6条回答
  •  攒了一身酷
    2020-12-01 03:37

    Depending on what exactly it is that you are copying, a persistent data structure might be a solution for your problem.

提交回复
热议问题