Mon Mar 24 08:00:27 PDT 2008 Duncan Coutts <[EMAIL PROTECTED]>
* Add Text instance for Extension and add UnknownExtension constructor
The parse function is ~15x faster than using reads by using a simple
hash table :: Array Char [(String, Extension)]. The hash function is
then just 'head' -- the first letter of the extension name.
M ./Cabal.cabal -1 +2
M ./Distribution/Simple/Compiler.hs -1 +1
M ./Distribution/Simple/Configure.hs -1 +1
M ./Language/Haskell/Extension.hs -3 +110
View patch online:
http://darcs.haskell.org/packages/Cabal/_darcs/patches/20080324150027-adfee-255bb35dd4f1524236e272689d21456951420f74.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries