ermac10k
05/06/2021, 11:59 AMgildor
05/06/2021, 1:30 PMermac10k
05/06/2021, 1:39 PMgildor
05/06/2021, 1:51 PMermac10k
05/06/2021, 1:52 PMgildor
05/06/2021, 2:00 PMYou have very primitive implementetation of coroutinesIt’s really bad explanation, not implementation of coroutines, but usage of them just as a wrapper on top of thread, this would be worse even without coroutines if you would compare it with parallelStream() which has own speciailized thread pool with job stealing mechanism
ermac10k
05/06/2021, 2:08 PMgildor
05/06/2021, 2:10 PMermac10k
05/06/2021, 2:11 PMgildor
05/06/2021, 2:11 PMi mean the way that i don’t specified a pool at allCorrect, because you run by default on DefaultDispatcher, which you shouldn’t really block and it just doesn’t do the same what parallelStream is doing
ermac10k
05/06/2021, 2:12 PMgildor
05/06/2021, 2:13 PMermac10k
05/06/2021, 2:15 PMgildor
05/06/2021, 2:15 PMermac10k
05/06/2021, 2:17 PMgildor
05/06/2021, 2:17 PMermac10k
05/06/2021, 2:20 PMgildor
05/06/2021, 2:20 PMermac10k
05/06/2021, 2:22 PMeHelg
05/06/2021, 5:08 PMgildor
05/06/2021, 11:37 PMermac10k
05/07/2021, 11:44 AMgildor
05/07/2021, 12:28 PMermac10k
05/07/2021, 12:33 PMgildor
05/07/2021, 12:41 PMermac10k
05/07/2021, 12:44 PMb.findAllByaName(it.id)
it’s a hiber querygildor
05/07/2021, 12:45 PMermac10k
05/07/2021, 12:48 PMgildor
05/07/2021, 12:48 PMermac10k
05/07/2021, 12:49 PMgildor
05/07/2021, 12:50 PMermac10k
05/07/2021, 12:52 PM