All of these getters and setters could be reified and would probably be faster if they were.
But the first thing thing to do would be to write a benchmark so that we could observe the difference.
|
getInt8 :: DataView -> ByteOffset -> Effect (Maybe Int) |
|
getInt8 = getLE (Proxy :: Proxy Int8) |
All of these getters and setters could be reified and would probably be faster if they were.
But the first thing thing to do would be to write a benchmark so that we could observe the difference.
purescript-arraybuffer/src/Data/ArrayBuffer/DataView.purs
Lines 216 to 217 in 6cc3154