On Wed, Jul 12, 2017 at 8:16 PM, Cholerae Hu <cholerae...@gmail.com> wrote:
>
> We found quite a lot `morestack` call in our system, which cost a lot of
> time. 4 KB of initial stack seems too small for us, how can I set a larger
> size of initial stack size?

There is no way to do that at present.

If this is really what takes the most time in your program, then you
may want to limit recursion.  In most cases the program rapidly
reaches a stable stack level, and no more calls to morestack occur.

Ian

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to