Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
Description
methods like setDBProperty and getDBProperty work slow, if are used several times one after another. Example:
var a = this.getDBProperty('a'); var b = this.getDBProperty('b'); var c = this.getDBProperty('c');
Each getDBProperty-call does localStorage.getObject which may be slow if readable object is too big (it may take 100-150 ms). So, it's better to read list of values with one call, like:
this.getDBProperties(['a', 'b', 'c']);
And same for setDBProperties.