package
0.0.0-20220221234417-2f611ba1f883
Repository: https://github.com/asukakenji/go-benchmarks.git
Documentation: pkg.go.dev

# README

Slice Test

Make Function with 1 Parameter (make([]T, length))

https://go.dev/ref/spec#Making_slices_maps_and_channels

Make Function with 2 Parameters (make([]T, length, capacity))

https://go.dev/ref/spec#Making_slices_maps_and_channels

Length Function (len(s))

https://go.dev/ref/spec#Length_and_capacity

Capacity Function (cap(s))

https://go.dev/ref/spec#Length_and_capacity

Index Expression (s[index])

https://go.dev/ref/spec#Index_expressions

Simple Slice Expression (s[low:high])

https://go.dev/ref/spec#Slice_expressions

Full Slice Expression (s[low:high:max])

https://go.dev/ref/spec#Slice_expressions

Spread Expression (s...)

https://go.dev/ref/spec#Passing_arguments_to_..._parameters

Append Function (append(s, x...))

https://go.dev/ref/spec#Appending_and_copying_slices

Copy Function (copy(dst, src))

https://go.dev/ref/spec#Appending_and_copying_slices