Firefox OS/MappedArrayBuffer: Difference between revisions

Jump to navigation Jump to search
Line 26: Line 26:
** Uncompressed
** Uncompressed
** Aligned to
** Aligned to
*** 8 bytes minimum, and page size[1] recommended
*** 8 bytes minimum, and page size[1] recommended[2]
*** After [2] landed, page size aligment is mandatory
*** After [3] landed, page size aligment is mandatory
* If requirements not meet
* If requirements not meet
** Fall back to be normal array buffer
** Fall back to be normal array buffer


:[1] Page size on 32-bits Linux is 4096 bytes
:[1] Page size on 32-bits Linux is 4096 bytes.
:[2] Bug 855669 - Figure out how emscripten &co can decommit memory
:[2] Page alignment of target file in the zip may increase the zip package size a little, but it saves you one page heap memory overhead.
:[3] Bug 855669 - Figure out how emscripten &co can decommit memory


== OOP support ==
== OOP support ==
148

edits

Navigation menu