-
-
Notifications
You must be signed in to change notification settings - Fork 16
.cancrunch
localDataStorage.cancrunch( value )
This is a helper method that provides a window into the internal logic of string compression. The value is checked to determine if it can be compressed to a lower byte count and returns true or false. The test takes into account the storage overhead of required marker flags necessary to manage compressed keys.
Only strings can be compressed.
📝 NOTE: This test is performed automatically whenever a string is stored, for example, using set.
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