[project @ 2001-09-14 11:25:23 by simonmar]
authorsimonmar <unknown>
Fri, 14 Sep 2001 11:25:24 +0000 (11:25 +0000)
committersimonmar <unknown>
Fri, 14 Sep 2001 11:25:24 +0000 (11:25 +0000)
commit738fe4d596718c8fc9e2be60dee0ff59295275f4
tree23a8b16571bc08ecd4062cee68ccb8cf77cf12f5
parent660b5953de6e9850b8d2c34e13887c4afba9d38b
[project @ 2001-09-14 11:25:23 by simonmar]
- replace PackedString implementation with one based on UArray.  It hasn't
  been tuned for performance yet, and it seems that not enough fusion is
  happening yet, but in theory it should be nearly as fast as the old
  implementation (modulo the fact that the new packed string representation
  used 32-bit chars vs. 8-bit chars in the old implementation).

- remove hPutBufBA and hGetBufBA from GHC.IO.

- add new functions hPutArray and hGetArray to Data.Array.IO, to directly
  read/write arrays of bytes.  These are behind the implementations of
  hGetPS & hPutPS in the new PackedString.

- finally, remove the last vestiges of ByteArray and MutableByteArray
  from the core libraries.  Deprecated implementations will be available
  in the lang compatibility package.

- move the inline functions from GHC.Handle into HsCore.h, and declare
  them as 'extern inline'.
Data/Array/IO.hs
Data/PackedString.hs
GHC/ByteArr.lhs [deleted file]
GHC/Handle.hsc
GHC/IO.hsc
GHC/Pack.lhs