Ticket #8 (closed defect: fixed)
cache ghc-version-specific info
| Reported by: | claus | Owned by: | claus |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | --- | Version: | |
| Keywords: | Cc: |
Description
There is really no reason for every editing session to ask ghc about the languages and options it supports. Cache this info and look it up by version. Only call out to ghc again if the cache is missing or doesn't cover the current ghc version.
Only issue: another file to find a writeable location for, on all platforms..
Oh, now that we use autoload, there should also be no need for both ghc.vim and haskell_doc.vim to query the ghc version (and one of the version-comparison functions could also go!).
All these extraneous calls to ghc noticably slow down startup.
Change History
Note: See
TracTickets for help on using
tickets.
