sync pool 源码分析

目的 Many Go programs and packages try to reuse memory either for locality reasons or to reduce GC pressure。 缓解GC压力 GC(garbage...
golang随机字符串

golang随机字符串

重复性低 const char = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" func RandChar(size int) string {...
Page 417 of 423