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
+1 -1
Submodule dist updated: 76ebd3043d...e2f93af86e
+1
View File
@@ -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
}) })
+2 -2
View File
@@ -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)
} }