mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
BigIntOrderedMap: fix caching, again
This commit is contained in:
parent
61e9deb787
commit
5fe3874b20
@ -16,7 +16,7 @@ function sortBigInt(a: BigInteger, b: BigInteger) {
|
|||||||
}
|
}
|
||||||
export default class BigIntOrderedMap<V> implements Iterable<[BigInteger, V]> {
|
export default class BigIntOrderedMap<V> implements Iterable<[BigInteger, V]> {
|
||||||
root: Record<string, V> = {}
|
root: Record<string, V> = {}
|
||||||
cachedIter: [BigInteger, V][] = [];
|
cachedIter: [BigInteger, V][] = null;
|
||||||
[immerable] = true;
|
[immerable] = true;
|
||||||
|
|
||||||
constructor(items: [BigInteger, V][] = []) {
|
constructor(items: [BigInteger, V][] = []) {
|
||||||
|
Loading…
Reference in New Issue
Block a user