Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vasilmkd
Copy link
Contributor

@vasilmkd vasilmkd commented Nov 6, 2019

regiskuckaertz
regiskuckaertz previously approved these changes Nov 6, 2019
Copy link
Member

@regiskuckaertz regiskuckaertz left a comment

Choose a reason for hiding this comment

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

Nice!

@iravid
Copy link
Member

iravid commented Nov 6, 2019

I’m all for optimizations but this one needs to be benchmarked, as not many things are faster than preprnding to a list

@iravid
Copy link
Member

iravid commented Nov 6, 2019

@vasilmkd
Copy link
Contributor Author

vasilmkd commented Nov 6, 2019

Hmmm, TIL. Thanks. I have another idea.

@vasilmkd vasilmkd changed the title Use ListBuffer instead of reversing Lists in Chunk Chunk#flatMap construct result array from the back Nov 6, 2019
@vasilmkd
Copy link
Contributor Author

vasilmkd commented Nov 6, 2019

@iravid How about now? 🤣

Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

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

Nice work!

@iravid iravid merged commit b975891 into zio:master Nov 6, 2019
@vasilmkd vasilmkd deleted the chunk-flatmap-listbuffer branch November 6, 2019 13:22
Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
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.

3 participants