1. 14 Apr, 2001 9 commits
    • qrczak's avatar
      [project @ 2001-04-14 22:32:14 by qrczak] · 1b9312bd
      qrczak authored
      {-# INLINE instance #-} support.
    • qrczak's avatar
      [project @ 2001-04-14 22:29:16 by qrczak] · a7cad169
      qrczak authored
      Add stg_ap_1_upd_info to symbols known to the linker.
    • qrczak's avatar
      [project @ 2001-04-14 22:28:46 by qrczak] · 7eb00ee3
      qrczak authored
      castCCharToChar can be more straightforward and more efficient now.
    • qrczak's avatar
      [project @ 2001-04-14 22:28:22 by qrczak] · 467bd515
      qrczak authored
    • qrczak's avatar
      [project @ 2001-04-14 22:27:34 by qrczak] · 8c99af6a
      qrczak authored
      Don't rely so much on exports from ArrayBase.
    • qrczak's avatar
      [project @ 2001-04-14 22:27:00 by qrczak] · 8bd82b88
      qrczak authored
      Implementation of arrays rewritten
      Bulk operations like listArray, elems, fmap/amap, (==), getElems,
      getAssocs, freeze etc. no longer check whether indices which are
      not provided by the programmer are in bounds (they always are), and
      avoid unnecessary translation between Ix indices and Int indices.
      Some operations are implemented more efficiently, most notably (==)
      and compare.
      This applies to all IArray and MArray instances, including Haskell
      98 Arrays.
      Old methods of IArray and MArray are now functions; this is the only
      change in the interface. New methods are exported only by ArrayBase,
      i.e. not officially exported. They work on Int indices and are unsafe:
      they don't do bounds checks themselves. Public functions do checks
      and index translation instead where necessary.
      More is inlined, to ensure that anything worth specialization or list
      fusion gets specialized and fused. Perhaps a bit too much is inlined.
      If it was possible to say that a function should be instantiated in
      other modules for each type but not inlined on each use, it would be
      useful here.
      Using UArray Int Char wrapped in a nice interface (not included
      here) instead of PackedString should be reasonable. PackedStrings
      are 10% faster than UArray in a sorting test (and don't support
      Unicode). Standard Strings are 50% slower (and take up more memory),
      even though other test versions convert input from standard Strings
      and convert output to them. ByteArrays tuned by hand for the benchmark
      are 15% faster. The same UArray test compiled with released ghc-5.00,
      with compare defined in terms of assocs, is 7 times slower.
    • qrczak's avatar
      [project @ 2001-04-14 22:25:24 by qrczak] · 940d9d97
      qrczak authored
      Do more Word arithmetic on constants at compile time.
    • qrczak's avatar
      [project @ 2001-04-14 22:24:24 by qrczak] · d455d8a0
      qrczak authored
      Add {-# INLINE instance #-} pragma which ensures that the dictionary
      function is inlined.
    • lewie's avatar
      [project @ 2001-04-14 07:36:58 by lewie] · 8166bb6c
      lewie authored
      Fix a couple of bugs affecting implicit params.  With implicit params, you
      can have a rho type w/o being a forall type.
  2. 13 Apr, 2001 4 commits
    • panne's avatar
      [project @ 2001-04-13 21:37:42 by panne] · 21c60059
      panne authored
      First steps toward a better typing of f.e.d. and friends: Make FunPtr
      a fully-fledged data type, not a renaming for Ptr. This is necessary,
      because the FFI "looks through" newtypes, which we don't want in this
    • lewie's avatar
      [project @ 2001-04-13 17:49:23 by lewie] · d37c0740
      lewie authored
      Add new test for IP.
    • panne's avatar
      [project @ 2001-04-13 13:37:24 by panne] · 486c94ae
      panne authored
      To keep people debugging GHC sane, disable CSE in *every* module using
      GLOBAL_VARs. This solves the problem with the strange -M output, where
      some global IORefs were commoned up (again). CSE seems to be really
      broken, but a comment in ghc/Makefile promises a fix.  Anybody out
      there with this fix on his/her hard disk: Please commit soon!
    • dsyme's avatar
      [project @ 2001-04-13 03:50:52 by dsyme] · 1276e713
      dsyme authored
      More changes to the ILX code generator, currently only relevant to Don
  3. 12 Apr, 2001 4 commits
  4. 11 Apr, 2001 6 commits
  5. 10 Apr, 2001 4 commits
  6. 09 Apr, 2001 2 commits
  7. 08 Apr, 2001 1 commit
  8. 07 Apr, 2001 4 commits
  9. 06 Apr, 2001 4 commits
    • sewardj's avatar
      [project @ 2001-04-06 16:15:39 by sewardj] · 77cdc77c
      sewardj authored
      Commit the following change:
      > > Why the default libdir is /usr/local/lib
      > > and not /usr/local/lib/ghc-<version>?
      > Great question.  I end up running config with the likes of
      > `--libdir=/usr/local/lib/ghc-5.0' every time, which gets to
      > be annoying ;-)
      I've been meaning to fix this for a while, but couldn't see a good way
      to do it.  I found a (mildly-hacky) way to do it today: in
      fptools/ghc, we override $(libdir) to be
      $(libdir)/$(ProjectNameShort)-$(ProjectVersion), so everything inside
      fptools/ghc will be installed in the subdirectory.  fptools/hslibs is
      a bit more of a hack.
    • sewardj's avatar
      [project @ 2001-04-06 10:53:08 by sewardj] · 6a48b75e
      sewardj authored
    • lewie's avatar
      [project @ 2001-04-06 04:28:53 by lewie] · f752bd00
      lewie authored
      More Version Blues.
    • lewie's avatar
      [project @ 2001-04-06 01:07:23 by lewie] · 38bb4252
      lewie authored
      Fix a bad case of the Version Change Blues ;-)
  10. 05 Apr, 2001 2 commits