@woosh/meep-engine 2.113.8 → 2.113.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/meep.cjs +18 -18
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +18 -18
- package/package.json +1 -1
- package/src/core/collection/KeyValuePair.d.ts +3 -4
- package/src/core/collection/KeyValuePair.d.ts.map +1 -1
- package/src/core/collection/KeyValuePair.js +0 -1
- package/src/core/model/object/ImmutableObjectPool.d.ts.map +1 -1
- package/src/core/model/object/ImmutableObjectPool.js +18 -17
package/build/meep.module.js
CHANGED
|
@@ -82495,7 +82495,6 @@ function readStyleToken(text, cursor, length) {
|
|
|
82495
82495
|
*/
|
|
82496
82496
|
class KeyValuePair {
|
|
82497
82497
|
/**
|
|
82498
|
-
* @template Key, Value
|
|
82499
82498
|
* @param {Key} key
|
|
82500
82499
|
* @param {Value} value
|
|
82501
82500
|
*/
|
|
@@ -97998,26 +97997,27 @@ class ImmutableObjectPool {
|
|
|
97998
97997
|
* @type {Signal<Key,Value>}
|
|
97999
97998
|
*/
|
|
98000
97999
|
onRemoved = new Signal()
|
|
98000
|
+
/**
|
|
98001
|
+
*
|
|
98002
|
+
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
98003
|
+
*/
|
|
98004
|
+
data = new HashMap();
|
|
98005
|
+
|
|
98006
|
+
/**
|
|
98007
|
+
*
|
|
98008
|
+
* @type {CacheElement<Key,Value>|null}
|
|
98009
|
+
* @private
|
|
98010
|
+
*/
|
|
98011
|
+
__first = null;
|
|
98012
|
+
/**
|
|
98013
|
+
*
|
|
98014
|
+
* @type {CacheElement<Key,Value>|null}
|
|
98015
|
+
* @private
|
|
98016
|
+
*/
|
|
98017
|
+
__last = null;
|
|
98001
98018
|
|
|
98002
98019
|
constructor({ capacity = 100, perKeyCapacity = 10 } = {}) {
|
|
98003
|
-
/**
|
|
98004
|
-
*
|
|
98005
|
-
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
98006
|
-
*/
|
|
98007
|
-
this.data = new HashMap();
|
|
98008
98020
|
|
|
98009
|
-
/**
|
|
98010
|
-
*
|
|
98011
|
-
* @type {CacheElement<Key,Value>|null}
|
|
98012
|
-
* @private
|
|
98013
|
-
*/
|
|
98014
|
-
this.__first = null;
|
|
98015
|
-
/**
|
|
98016
|
-
*
|
|
98017
|
-
* @type {CacheElement<Key,Value>|null}
|
|
98018
|
-
* @private
|
|
98019
|
-
*/
|
|
98020
|
-
this.__last = null;
|
|
98021
98021
|
|
|
98022
98022
|
/**
|
|
98023
98023
|
* How many items in total the pool can hold
|
package/package.json
CHANGED
|
@@ -3,21 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export class KeyValuePair<Key, Value> {
|
|
5
5
|
/**
|
|
6
|
-
* @template Key, Value
|
|
7
6
|
* @param {Key} key
|
|
8
7
|
* @param {Value} value
|
|
9
8
|
*/
|
|
10
|
-
constructor(key:
|
|
9
|
+
constructor(key: Key, value: Value);
|
|
11
10
|
/**
|
|
12
11
|
*
|
|
13
12
|
* @type {Key}
|
|
14
13
|
*/
|
|
15
|
-
key:
|
|
14
|
+
key: Key;
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @type {Value}
|
|
19
18
|
*/
|
|
20
|
-
value:
|
|
19
|
+
value: Value;
|
|
21
20
|
/**
|
|
22
21
|
*
|
|
23
22
|
* @param {KeyValuePair} other
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["../../../../src/core/collection/KeyValuePair.js"],"names":[],"mappings":"AAAA;;GAEG;AACH;IACI
|
|
1
|
+
{"version":3,"file":"KeyValuePair.d.ts","sourceRoot":"","sources":["../../../../src/core/collection/KeyValuePair.js"],"names":[],"mappings":"AAAA;;GAEG;AACH;IACI;;;OAGG;IACH,iBAHW,GAAG,SACH,KAAK,EAaf;IAVG;;;OAGG;IACH,KAFU,GAAG,CAEC;IACd;;;OAGG;IACH,OAFU,KAAK,CAEG;IAGtB;;;;OAIG;IACH,uCAFY,OAAO,CAKlB;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImmutableObjectPool.d.ts","sourceRoot":"","sources":["../../../../../src/core/model/object/ImmutableObjectPool.js"],"names":[],"mappings":"AAIA;;GAEG;AACH;
|
|
1
|
+
{"version":3,"file":"ImmutableObjectPool.d.ts","sourceRoot":"","sources":["../../../../../src/core/model/object/ImmutableObjectPool.js"],"names":[],"mappings":"AAIA;;GAEG;AACH;IAyBI;;;OAoBC;IA5CD;;;OAGG;IACH,oBAFU,OAAO,GAAG,EAAC,KAAK,CAAC,CAEH;IACxB;;;OAGG;IACH,MAFU,QAAQ,GAAG,EAAE,aAAa,GAAG,EAAC,KAAK,CAAC,EAAE,CAAC,CAE5B;IAErB;;;;OAIG;IACH,gBAAe;IACf;;;;OAIG;IACH,eAAc;IAKV;;;OAGG;IACH,UAFU,MAAM,CAEQ;IAExB;;;OAGG;IACH,gBAFU,MAAM,CAEoB;IAEpC;;;OAGG;IACH,MAFU,MAAM,CAEH;IAGjB,uBAuBC;IAED;;;OAGG;IACH,cAIC;IAED;;;;OAIG;IACH,wBA0BC;IAED,mCA2CC;CACJ;mBApKkB,+BAA+B;wBAD1B,iCAAiC;6BAD5B,6BAA6B"}
|
|
@@ -11,26 +11,27 @@ export class ImmutableObjectPool {
|
|
|
11
11
|
* @type {Signal<Key,Value>}
|
|
12
12
|
*/
|
|
13
13
|
onRemoved = new Signal()
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
17
|
+
*/
|
|
18
|
+
data = new HashMap();
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CacheElement<Key,Value>|null}
|
|
23
|
+
* @private
|
|
24
|
+
*/
|
|
25
|
+
__first = null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CacheElement<Key,Value>|null}
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
__last = null;
|
|
14
32
|
|
|
15
33
|
constructor({ capacity = 100, perKeyCapacity = 10 } = {}) {
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
19
|
-
*/
|
|
20
|
-
this.data = new HashMap();
|
|
21
34
|
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {CacheElement<Key,Value>|null}
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
|
-
this.__first = null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {CacheElement<Key,Value>|null}
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
this.__last = null;
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
* How many items in total the pool can hold
|