Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yjs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sweng-group-15
yjs
Commits
28976956
Commit
28976956
authored
8 years ago
by
Kevin Jahns
Browse files
Options
Downloads
Patches
Plain Diff
update dist, more args for SmallLookupBuffer
parent
5118f02b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist
+1
-1
1 addition, 1 deletion
dist
src/SpecHelper.js
+1
-0
1 addition, 0 deletions
src/SpecHelper.js
src/Utils.js
+2
-2
2 additions, 2 deletions
src/Utils.js
with
4 additions
and
3 deletions
dist
@
e2f93af8
Compare
76ebd304
...
e2f93af8
Subproject commit
76ebd3043de17138548694f6f10e2bd1c80ff436
Subproject commit
e2f93af86e9dd207cb57d313c6ac305cd69e34d1
This diff is collapsed.
Click to expand it.
src/SpecHelper.js
+
1
−
0
View file @
28976956
...
...
@@ -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
})
...
...
This diff is collapsed.
Click to expand it.
src/Utils.js
+
2
−
2
View file @
28976956
...
...
@@ -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
(
arg
1
,
arg2
)
{
// super(...arguments) -- do this when this is supported by stable nodejs
super
(
arg
)
super
(
arg
1
,
arg2
)
this
.
writeBuffer
=
createEmptyOpsArray
(
5
)
this
.
readBuffer
=
createEmptyOpsArray
(
10
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment