Firefox OS/MappedArrayBuffer: Difference between revisions

m
Line 1: Line 1:
== Memory-mapped array buffer for XHR response ==
== Memory-mapped array buffer for XHR response ==


: The feature allows to read data in packaged app by XHR with array buffer type as memory-mapped.
: The feature allows to read data in packaged app by XHR with array buffer type as memory-mapped. It helps to save RAM memory usage, especially for big data files in a packaged app.
: It helps to save RAM memory usage, especially for big data files in a packaged app. For example, when enabled, the word suggestion/auto correction or the IME database in the keyboard APP no longer consumes RAM memory.
: For example, the English word suggestion/auto correction or the JSZhuyin IME database in the keyboard APP are read as array buffer, which are good candidates to enable this feature on a small RAM device.
 


: Main bug for this feature at https://bugzilla.mozilla.org/show_bug.cgi?id=945152
: Main bug for this feature at https://bugzilla.mozilla.org/show_bug.cgi?id=945152
148

edits