lunule

Results 1 comments of lunule

请教博主,为什么我将gc移到for循环外,两种方法的内存占用都会变得很小呢? ``` func testLastChars(t *testing.T, f func([]int) []int) { t.Helper() ans := make([][]int, 0) for k := 0; k < 100; k++ { origin := generateWithCap(128 * 1024) // 1M...