https://kotlinlang.org logo
#coroutines
Title
# coroutines
m

Marc Knaup

10/31/2017, 1:12 PM
Would it make sense to add coroutines support to a (streaming) JSON library? (+ wouldn’t turning all reads/writes into suspending functions slow down things a lot?)
e

elizarov

10/31/2017, 2:04 PM
It would not make a lot of sense from performance standpoint. It is much better to read/write the whole JSON chunk of data, then deserialize/serialize it
m

Marc Knaup

10/31/2017, 2:06 PM
That’s what I thought, thank you for the feedback!
4 Views