Skip to content

Conversation

@okumin
Copy link
Contributor

@okumin okumin commented Sep 16, 2014

In Scala 2.10.x, Queue#:+ has a performance issue.
scala/scala@f0f0a5e

So this commit replaces that operations with Queue#enqueue.
And use Queue#dequeue explicitly instead of Queue#head and Queue#tail. There is little dirrerence between these operations, but it will be obvious that Queue is used correctly.

In Scala 2.10.x, Queue#:+ has a performance issue.
scala/scala@f0f0a5e

So this commit replaces that operations with Queue#enqueue.
And use Queue#dequeue explicitly instead of Queue#head and Queue#tail. There is little dirrerence between these operations, but it will be obvious that Queue is used correctly.
@okumin
Copy link
Contributor Author

okumin commented Sep 23, 2014

When I tried to request too many commands, Queue#:+ in ResponseHandling spent much time.

@debasishg
Copy link
Owner

Thanks .. I will take a look and merge ASAP.

@okumin
Copy link
Contributor Author

okumin commented Sep 24, 2014

I found another bottleneck……, so I'm going to fix that.

@okumin
Copy link
Contributor Author

okumin commented Sep 24, 2014

It is difficult to fix, so created the issue.
#104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants