{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/primitive/issues/107","repository_url":"https://api.github.com/repos/haskell/primitive","labels_url":"https://api.github.com/repos/haskell/primitive/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/haskell/primitive/issues/107/comments","events_url":"https://api.github.com/repos/haskell/primitive/issues/107/events","html_url":"https://github.com/haskell/primitive/issues/107","id":308173189,"number":107,"title":"Use compareByteArrays# on GHC 8.4+","user":{"login":"andrewthad","id":5332484,"avatar_url":"https://avatars0.githubusercontent.com/u/5332484?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewthad","html_url":"https://github.com/andrewthad","followers_url":"https://api.github.com/users/andrewthad/followers","following_url":"https://api.github.com/users/andrewthad/following{/other_user}","gists_url":"https://api.github.com/users/andrewthad/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewthad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewthad/subscriptions","organizations_url":"https://api.github.com/users/andrewthad/orgs","repos_url":"https://api.github.com/users/andrewthad/repos","events_url":"https://api.github.com/users/andrewthad/events{/privacy}","received_events_url":"https://api.github.com/users/andrewthad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T20:44:08Z","updated_at":"2018-03-23T20:44:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"On GHC 8.4 and newer, we have [compareByteArrays#](https://www.stackage.org/haddock/nightly-2018-03-23/ghc-prim-0.5.2.0/GHC-Prim.html#v:compareByteArrays-35-). It has a [pointer equality short cut built in](https://phabricator.haskell.org/rGHC31c260f3967d2c06063c962a98475058daa45c6d), so there's no need for `sameByteArray`. Plus, it doesn't use the FFI, so it should be a little bit faster."},"comment":{"url":"https://api.github.com/repos/haskell/primitive/issues/comments/375793130","html_url":"https://github.com/haskell/primitive/issues/107#issuecomment-375793130","issue_url":"https://api.github.com/repos/haskell/primitive/issues/107","id":375793130,"user":{"login":"andrewthad","id":5332484,"avatar_url":"https://avatars0.githubusercontent.com/u/5332484?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewthad","html_url":"https://github.com/andrewthad","followers_url":"https://api.github.com/users/andrewthad/followers","following_url":"https://api.github.com/users/andrewthad/following{/other_user}","gists_url":"https://api.github.com/users/andrewthad/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewthad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewthad/subscriptions","organizations_url":"https://api.github.com/users/andrewthad/orgs","repos_url":"https://api.github.com/users/andrewthad/repos","events_url":"https://api.github.com/users/andrewthad/events{/privacy}","received_events_url":"https://api.github.com/users/andrewthad/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T20:44:41Z","updated_at":"2018-03-23T20:44:41Z","author_association":"CONTRIBUTOR","body":"Whoops, forgot to mention where I think this should be used: the `Eq` and `Ord` instances for `ByteArray`."}}
{"actor":{"display_login":"andrewthad"}}