Memory-mapped array types.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
J. David Lee 50b65bddbc Updated some comments. 3 years ago
generator Updated some comments. 3 years ago
vendor Vendored dependencies. 3 years ago
.gitignore Initial commit 3 years ago
LICENSE Initial commit 3 years ago
README.md Updated README.md. 3 years ago
boolarray.go Updated some comments. 3 years ago
boolarray_test.go cleanup 3 years ago
bytearray.go Updated some comments. 3 years ago
bytearray_test.go cleanup 3 years ago
float32array.go Updated some comments. 3 years ago
float32array_test.go cleanup 3 years ago
float64array.go Updated some comments. 3 years ago
float64array_test.go cleanup 3 years ago
generic.go cleanup 3 years ago
go.mod Vendored dependencies. 3 years ago
go.sum Vendored dependencies. 3 years ago
int8array.go Updated some comments. 3 years ago
int8array_test.go cleanup 3 years ago
int16array.go Updated some comments. 3 years ago
int16array_test.go cleanup 3 years ago
int32array.go Updated some comments. 3 years ago
int32array_test.go cleanup 3 years ago
int64array.go Updated some comments. 3 years ago
int64array_test.go cleanup 3 years ago
main_test.go WIP 3 years ago
random_test.go WIP 3 years ago
uint8array.go Updated some comments. 3 years ago
uint8array_test.go cleanup 3 years ago
uint16array.go Updated some comments. 3 years ago
uint16array_test.go cleanup 3 years ago
uint32array.go Updated some comments. 3 years ago
uint32array_test.go cleanup 3 years ago
uint64array.go Updated some comments. 3 years ago
uint64array_test.go cleanup 3 years ago
util.go wip 3 years ago

README.md

mmarray

Memory-mapped array types.

Example

a, _ := mmarray.NewTempByteArray(".")
a.SetCap(1024 * 1024 * 1024)
a.SetLen(a.Cap())
a.Map()
rand.Read(a.V)
a.Close()