Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finagle-{core, memcached, ostrich4}: Use collection.breakOut #610

Closed
wants to merge 1 commit into from

Conversation

zaneli
Copy link
Contributor

@zaneli zaneli commented Apr 23, 2017

Problem

use map(...)(breakOut) is slightly more efficient than map(...).toSeq and so on.

Solution

replace map(...).toSeq, toList, toMap with map(...)(breakOut).

Problem

use `map(...)(breakOut)` is slightly more efficient than `map(...).toSeq` and so on.

Solution

replace `map(...).toSeq`, `toList`, `toMap` with `map(...)(breakOut)`.
Copy link
Contributor

@kevinoliver kevinoliver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @zaneli, lgtm.

@yufangong
Copy link
Contributor

Thanks @zaneli, your change has been merged here: 8fbabf3

@yufangong yufangong closed this Apr 24, 2017
@zaneli zaneli deleted the use-breakOut branch April 25, 2017 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants