[x] Write benchmarks comparing with other data structures (List, Array, TypedArray). Use exponential scales (10 - 100 - ...) to test different use cases.
Array Creation
[x] Creation of an array of 0 from scratch
[x] Creation of a constant array
[x] Initialization of array with function
Basic requests
[x] Get the length
[x] Get value at half size
Predicates
[x] All
[x] Any
[x] Filter
Array comparison
[x] Equal
Array extraction and appending
[x] Slice
[x] Append two arrays
Array transformations
[x] Replace a value at half size
[x] Map
Array reductions
[x] Fold left
[x] Fold right
[ ] Continue development of elm-tensor as proof of concept
[ ] Add the DataView API
[ ] Change few things in the API:
[ ] Move types in a Typed module? (not sure useful)
[ ] Create a RangeError that would be returned on impossible operations on buffers
[ ] Use a Result instead of Maybe for the fromValue functions
JsUint8Array
, ...) modulesJsTypedArray
modulefromArray
functionfromTypedArray
function to be able to convert typed arraystoList
andtoArray
functionsTyped
module? (not sure useful)RangeError
that would be returned on impossible operations on buffersResult
instead ofMaybe
for thefromValue
functions