patch applied (cabal): Add Text instance for Extension and add UnknownExtension constructor
25 Mar
2008
25 Mar
'08
10:35 a.m.
Mon Mar 24 08:00:27 PDT 2008 Duncan Coutts <duncan@haskell.org> * 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/cabal/_darcs/patches/20080324150027-adfee-255bb35dd...
6695
Age (days ago)
6695
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts