https://kotlinlang.org logo
Title
s

Slackbot

11/10/2018, 6:47 PM
This message was deleted.
c

camdenorrb

11/10/2018, 6:50 PM
If I make that into a thread and use Thread.sleep, it uses basically nothing of my CPU
n

Nikky

11/10/2018, 7:23 PM
try instesrting a delay of a few ms before
teamData.hasNext()
?
and i am not sure if getting a iterator and doing that manual is a good idea.. why not just use foreach ?
v

Vsevolod Tolstopyatov [JB]

11/10/2018, 8:22 PM
call a
jstack
a couple of times, it’s a good first approximation
c

camdenorrb

11/10/2018, 9:29 PM
@Nikky The iterator is to avoid concurrent modification exceptions
@Vsevolod Tolstopyatov [JB] Not sure what you mean tbh
Also it's getting delayed @Nikky, just for some reason taking 100%