Now() slice := make([]int, 1) //循环添加数据 for i := 0; i < 10000000; i++ { slice = append(slice, 1) } //结束时间 fmt.Println("切片的添加 ...
確定! 回上一頁