#9577: String literals are wasting space -------------------------------------+------------------------------------- Reporter: xnyhps | Owner: xnyhps Type: bug | Status: patch Priority: low | Milestone: 8.2.1 Component: Compiler (NCG) | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Runtime | Test Case: performance bug | codeGen/should_run/T9577 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1290 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"b7e88ee0d87f41cf1d8aba62aa44d5bf0a7404ad/ghc" b7e88ee/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="b7e88ee0d87f41cf1d8aba62aa44d5bf0a7404ad" Reduce the size of string literals in binaries. Removed the alignment for strings and mark then as cstring sections in the generated asm so the linker can merge duplicate sections. Reviewers: rwbarton, trofi, austin, trommler, simonmar, hvr, bgamari Reviewed By: hvr, bgamari Subscribers: simonpj, hvr, thomie Differential Revision: https://phabricator.haskell.org/D1290 GHC Trac Issues: #9577 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9577#comment:21> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler