[GHC] #10970: Built in MIN_VERSION macro support
GHC
ghc-devs at haskell.org
Thu Jan 14 13:21:31 UTC 2016
#10970: Built in MIN_VERSION macro support
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1349
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
I made a header file with 100000 copies (with different names) of the two
macros generated per package, and ran a file that `#include`s it through
cpp. It took 0.27 seconds. So for a more realistic package database size
of 1000 packages, that's 2 milliseconds. I think that overhead is
negligible relative to the time it takes ghc to compile any module.
Not critical to fix this for 8.0 though, since it's just a convenience
feature request.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10970#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list