-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deprecate memcpy and memset Starting with ghc-9.8, copyBytes and fillBytes from base will use dedicated primops that ghc can sometimes emit better code for if the length is known and small enough. We should take advantage of this rather than using a foreign call that ghc won't recognize. See also https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9629 * clean up some fromIntegral calls * remove foreign import for memcpy
- Loading branch information
Showing
2 changed files
with
29 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters