[project @ 1999-10-06 11:10:40 by simonmar]
authorsimonmar <unknown>
Wed, 6 Oct 1999 11:10:41 +0000 (11:10 +0000)
committersimonmar <unknown>
Wed, 6 Oct 1999 11:10:41 +0000 (11:10 +0000)
commita1eaa285df704b6ba3747833573d7a304bde423f
treef9f4fd208a6be8185f42384723b507a275559abc
parent8dc448ba4e5e51e06ae39dff789e38c767c33930
[project @ 1999-10-06 11:10:40 by simonmar]
Add new subdirectory ghc/ for programs that use ghc extensions.  The
old GHC_ONLY directory used to be populated with micro-tests, all of
which appear to have been moved to ghc/tests.

ghc/matrix is Pascal Serrarens' conversion of a Clean benchmark, that
reputedly runs 4 times slower than 0.29 and 40 times slower than the
clean implementation.  We have some ideas why this might be so:
inlining and specialisation isn't working very well for array
operations, so the bounds checking isn't being compiled down into
decent code.  The changes I just made to the bounds representation in
the various array datatypes improve things by 20% or so.
ghc/Makefile [new file with mode: 0644]
ghc/matrix/Main.hs [new file with mode: 0644]
ghc/matrix/Makefile [new file with mode: 0644]
ghc/matrix/Matrix.hs [new file with mode: 0644]
ghc/matrix/matrix.stdout [new file with mode: 0644]