update dist, more args for SmallLookupBuffer

This commit is contained in:
Kevin Jahns 2016-04-30 23:01:36 +01:00
parent 5118f02b49
commit 2897695680
3 changed files with 4 additions and 3 deletions

2
dist

@ -1 +1 @@
Subproject commit 76ebd3043de17138548694f6f10e2bd1c80ff436
Subproject commit e2f93af86e9dd207cb57d313c6ac305cd69e34d1

View File

@ -275,6 +275,7 @@ g.createUsers = async(function * createUsers (self, numberOfUsers, database, ini
}))
}
self.users = yield Promise.all(promises)
self.types = self.users.map(function (u) { return u.share.root })
return self.users
})

View File

@ -300,9 +300,9 @@ module.exports = function (Y /* : any*/) {
I tried to optimize this for performance, therefore no highlevel operations.
*/
class SmallLookupBuffer extends Store {
constructor (arg) {
constructor (arg1, arg2) {
// super(...arguments) -- do this when this is supported by stable nodejs
super(arg)
super(arg1, arg2)
this.writeBuffer = createEmptyOpsArray(5)
this.readBuffer = createEmptyOpsArray(10)
}