-
-
Notifications
You must be signed in to change notification settings - Fork 16
Memory Requirements
There is a difference between the memory required to store a key value and the memory consumed in the process. For JavaScript, consumption is doubled that of storage.
The following example table, where localDataStorage is namespaced with stor1, illustrates memory storage and consumption, as well as the available methods for determining each:
Data Type | Example Value | Storage | Consumption |
---|---|---|---|
Array | [1,3,5,7,9] | Right |
Array Keys:
push / pull, pullall poke contains where
Broadcasting:
broadcast
Data Transfer:
import / export
Duplicates:
countdupes, showdupes, listdupes
Internals:
cancrunch crunch / uncrunch
shufflestring / unshufflestring
Management:
keys
Memory Consumption:
Memory Quota:
showquota
Query:
haskey, hasval, hastype
setscramblekey / getscramblekey
Type Check:
isarray isbigint isboolean iscrunch
isdate isfloat isinteger isnull
Utility:
chopget copy softset rename
_set / _get _clear _key _remove
Management:
_keys
Type Check:
_isarray _isbigint _isboolean _iscrunch