hey guys, what happened to the CommonPool in 1.3 (...
# coroutines
g
hey guys, what happened to the CommonPool in 1.3 (kotlinx 1.0)? I'm using it in a bunch of places for some computation and in a couple places serialization, what should I use instead?
e
Dispatchers.Default
v
It was replaced by
Dispatchers.Default
. Could you please elaborate on serialization part?
g
Oh no just, serialization as in "I'm using serialization (XStream XML serializer) which is a cpu bound task", that's all I meant. Although perhaps there is an interesting problem here: I'm using MapDB, an embedded database that has never once caused me IO related headaches (blocking indefinately while it waits for file handles, etc). Thus I consider "serializing to mapdb" to be a CPU bound task. Is this fair? Technically its opening and writing to file streams, should I consider it an IO task and use the IO pool which, IIRC, will attempt to pull up another thread for me?