@mathias is COW used after re-allocating the buffer for the array? Or is it used in a different context?
-
-
Simplified example: const a = []; const b = []; const c = []; We could create 3 buffers in the backing store, but with COW we can just share a single one. a.push(42); Now the actual copy-on-write kicks in: we copy the shared buffer and then add the new element to the new copy
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.