Merge pull request #4863 from urbit/lf/group-feed-rep

BigIntOrderedMap: fix caching, again
This commit is contained in:
matildepark 2021-05-05 23:00:27 -04:00 committed by GitHub
commit 5651ee01f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ function sortBigInt(a: BigInteger, b: BigInteger) {
}
export default class BigIntOrderedMap<V> implements Iterable<[BigInteger, V]> {
root: Record<string, V> = {}
cachedIter: [BigInteger, V][] = [];
cachedIter: [BigInteger, V][] = null;
[immerable] = true;
constructor(items: [BigInteger, V][] = []) {