Draco-lang / Compiler

The compiler repository for the Draco programming language.
Apache License 2.0
74 stars 9 forks source link

Refactor IoWorker of debugger #336

Closed LPeter1997 closed 5 months ago

LPeter1997 commented 8 months ago

Currently it uses a probably too-complex merged loop, where the readers could just use separate loops. Also no need for Task.Run probably

Kuinox commented 5 months ago

It will also improve the performance since it will be able to use the ValueTask and not allocate a task when reading synchronously.