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