Dnia 2021-02-01, o godz. 11:12:22 Ian Lance Taylor <[email protected]> napisał(a):
> On Mon, Feb 1, 2021 at 9:33 AM 颜文泽 <[email protected]> wrote: > > go version go1.13 linux/amd64 > Goroutines that run for a long time without yielding the processor are > preempted. Since go1.14 TMK. OP is using 1.13. > > I'm not sure how to deal with this phenomenon when I find that the parallel > > performance > > using go routine is not very good when writing database(olap) code. First - use recent Go compiler version, current is 1.15, 1.16 is coming soon. Hope this helps, -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/20210202010636.6de705d1%40xmint.
