Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slicestudy

slice init test

just had to see for myself how stark the difference between different alloc and indexing options is. find the relevant file here.

append test

manipulating slices affects the backing array and therefore all other slices pointing to the same backing array. find the relevant file here.

how to run

regular unit tests

  • go test ./...

benchmarks

  • simple: go test -bench=.
  • multiple executions: go test -bench=. -count=10

About

exploring slice props.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages