
#13569: Optimise code-gen for field-updates of large products -------------------------------------+------------------------------------- Reporter: hvr | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 (CodeGen) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): Is memcpy faster than a local loop? Also, would you memcpy the fields before, then set the field, and the fields after? Or would you rather memcpy the whole thing in one go, and then set the single field? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13569#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler