Skip to content

Conversation

ghostbuster91
Copy link
Contributor

Justification:

  • it seems that most of the monix related libraries works on Array[Byte] (e.g. monix-nio)
  • because we keep that in ByteBuffer rather than arrays, we have to convert whenever we interact with some of monix built in stuff, this currently means 3 places (compression, reading response from file, writing response to file)
  • by doing that we will decrease the number of places where we do conversion to one - we will convert as soon as we get ByteBuffer from HttpClient

@ghostbuster91 ghostbuster91 requested a review from adamw November 8, 2020 15:54
@adamw adamw merged commit 5a96285 into master Nov 8, 2020
@mergify mergify bot deleted the monix-byte-array branch November 8, 2020 17:24
@adamw
Copy link
Member

adamw commented Nov 8, 2020

Released in 1.0.0-RC8, thanks!

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