quasar
quasar copied to clipboard
Deep stack will Cost more CPU
hello ,quasar is very nice !!!! thank your contribution ,The greatest thanks and admiration
I'm working on a project using nio and filber
Let's use synchronous method calls to invoke nio support
A fibler may be suspended or restored frequently
but when we in Deep stack call
Strand.yield(); or Strand.park(); ...
it cast cpu time Increases as the stack grows
A depth of more than 1,000 would be more serious
Can it be optimized ?
Hope for a solution
-------thank you
Building a Fiber-Pool will help.
@linkerlin How can I create and set a Fiber pool size?