Firefox OS/MappedArrayBuffer: Difference between revisions

Line 129: Line 129:
:1. Structured clone
:1. Structured clone
::* The destination array buffer becomes a normal array buffer
::* The destination array buffer becomes a normal array buffer
  worker.postMessage(ab);
:2. Transferable objects
:2. Transferable objects
::* Ownership transfered to destination array buffer, still memory-mapped
::* Ownership transfered to destination array buffer, still memory-mapped
::* Source array buffer is neutered after transfer
::* Source array buffer is neutered after transfer
  worker.postMessage(ab, [ab]);


* '''Is it possible to apply memory-mapped array buffer on blobs coming from IndexedDB?'''
* '''Is it possible to apply memory-mapped array buffer on blobs coming from IndexedDB?'''
:Yes, there is a follow up at https://bugzilla.mozilla.org/show_bug.cgi?id=988815
:Yes, there is a follow up at https://bugzilla.mozilla.org/show_bug.cgi?id=988815
148

edits