update dist, more args for SmallLookupBuffer
This commit is contained in:
parent
5118f02b49
commit
2897695680
2
dist
2
dist
@ -1 +1 @@
|
|||||||
Subproject commit 76ebd3043de17138548694f6f10e2bd1c80ff436
|
Subproject commit e2f93af86e9dd207cb57d313c6ac305cd69e34d1
|
@ -275,6 +275,7 @@ g.createUsers = async(function * createUsers (self, numberOfUsers, database, ini
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
self.users = yield Promise.all(promises)
|
self.users = yield Promise.all(promises)
|
||||||
|
self.types = self.users.map(function (u) { return u.share.root })
|
||||||
return self.users
|
return self.users
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -300,9 +300,9 @@ module.exports = function (Y /* : any*/) {
|
|||||||
I tried to optimize this for performance, therefore no highlevel operations.
|
I tried to optimize this for performance, therefore no highlevel operations.
|
||||||
*/
|
*/
|
||||||
class SmallLookupBuffer extends Store {
|
class SmallLookupBuffer extends Store {
|
||||||
constructor (arg) {
|
constructor (arg1, arg2) {
|
||||||
// super(...arguments) -- do this when this is supported by stable nodejs
|
// super(...arguments) -- do this when this is supported by stable nodejs
|
||||||
super(arg)
|
super(arg1, arg2)
|
||||||
this.writeBuffer = createEmptyOpsArray(5)
|
this.writeBuffer = createEmptyOpsArray(5)
|
||||||
this.readBuffer = createEmptyOpsArray(10)
|
this.readBuffer = createEmptyOpsArray(10)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user