[GHC] #14583: Don’t use `String` when generating code

#14583: Don’t use `String` when generating code -------------------------------------+------------------------------------- Reporter: dobenour | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 (CodeGen) | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC uses `String` when generating code, which is very slow. It would be much better to switch to `Data.ByteString.Builder`, or better yet output executables directly rather than going through an assembler. This applies to both the native and LLVM code generators. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14583 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC