purescript-contrib/purescript-arraybuffer

Reification

Opened this issue · 0 comments

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)