Firefox OS/MappedArrayBuffer: Difference between revisions

Line 3: Line 3:
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.


== Use Case ==
== Use it or not? ==
The feature 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. To use this feature, the data file in the packaged app must be uncompressed.
 
* To determine whether to use it, you may want to consider these factors:
* To determine whether to use it, you may want to consider these factors:
** RAM size
** RAM size
148

edits