Firefox OS/MappedArrayBuffer: Difference between revisions

(Created page with "== 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 memory-mapped array buff...")
 
Line 7: Line 7:


== Use Case ==
== Use Case ==
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. You may want to consider RAM/flash size, file size, and compression ratio to determine how to make best use of it.
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 make best use of it, you may want to consider these factors:
** RAM size
** Flash size
** File size
** File compression ratio


== Supported platform ==
== Supported platform ==
148

edits