sorry, i found that 500k stack size might be nesessary for a coroutine, so 
its not a problem.

On Saturday, June 15, 2024 at 10:24:18 PM UTC+8 cheng dong wrote:

> maybe coroutine could be implented inside a g in future hopefully
>
> On Saturday, June 15, 2024 at 10:23:01 PM UTC+8 cheng dong wrote:
>
>> thanks to runtime.newcoro/coroswitch and now we could do more things with 
>> coroutine. but it seems every newcoro create a full g which is 448B in 
>> size. maybe it is too heavy for a coroutine both in size and in 
>> schedule granularity ?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f1c9d01e-ca1b-4469-a08b-a53f11b21fefn%40googlegroups.com.

Reply via email to