patch applied (cabal-install): Make package searches ~100x faster but less featurefull

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Oct 16 21:03:15 EDT 2007


Tue Oct 16 17:43:09 PDT 2007  Duncan Coutts <duncan at haskell.org>
  * Make package searches ~100x faster but less featurefull
  Instead of parsing every .cabal file in the package list (which is very slow)
  We now just get the package name and version and do a case-insensitive
  substring search on the package name. The output format remains unchanged.
  So we no longer search inside package descriptions.

    M ./Hackage/Index.hs -10 +20
    M ./Hackage/Install.hs +1
    M ./Hackage/List.hs -21 +24
    M ./Hackage/Types.hs -4 +2


More information about the Cvs-libraries mailing list