Jump to content

Copy-on-write

From Simple English Wikipedia, the free encyclopedia
Revision as of 10:40, 30 September 2011 by Amirobot (talk | changes) (r2.7.1) (robot Adding: zh:寫入時複製)

Copy-on-write(COW) is a means of optimisation in Computer Science. When several callers ask for the same resource, they can all be given a pointer to the same address. Only when they try to change the resource does a local copy need to be made. This happens without the caller noticing. It is done so that all the other callers do not see the change they did not do.