fliermanrw / Project2.3

1 stars 2 forks source link

Cpu bottleneck #10

Closed jyrienstra closed 7 years ago

jyrienstra commented 7 years ago

when running serverHandler @ main. Cpu spikes to 30%. This is way to much, please fix

jyrienstra commented 7 years ago

Split reader/writer telnet logic. Saves around 20-30% of cpu usage. Adds commands to queue, and pops this in the reader