{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10784","labels_url":"https://api.github.com/repos/apache/spark/issues/10784/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10784/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10784/events","html_url":"https://github.com/apache/spark/pull/10784","id":127004010,"number":10784,"title":"[SPARK-12856][SQL] speed up hashCode of unsafe array","user":{"login":"cloud-fan","id":3182036,"avatar_url":"https://avatars.githubusercontent.com/u/3182036?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud-fan","html_url":"https://github.com/cloud-fan","followers_url":"https://api.github.com/users/cloud-fan/followers","following_url":"https://api.github.com/users/cloud-fan/following{/other_user}","gists_url":"https://api.github.com/users/cloud-fan/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-fan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-fan/subscriptions","organizations_url":"https://api.github.com/users/cloud-fan/orgs","repos_url":"https://api.github.com/users/cloud-fan/repos","events_url":"https://api.github.com/users/cloud-fan/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-fan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-16T05:56:42Z","updated_at":"2016-01-16T07:50:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10784","html_url":"https://github.com/apache/spark/pull/10784","diff_url":"https://github.com/apache/spark/pull/10784.diff","patch_url":"https://github.com/apache/spark/pull/10784.patch"},"body":"We iterate the bytes to calculate hashCode before, but now we have `Murmur3_x86_32.hashUnsafeBytes` that don't require the bytes to be word algned, we should use that instead.\r\n\r\nA simple benchmark shows it's about 3 X faster, benchmark code: https://gist.github.com/cloud-fan/fa77713ccebf0823b2ab#file-arrayhashbenchmark-scala"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/172170238","html_url":"https://github.com/apache/spark/pull/10784#issuecomment-172170238","issue_url":"https://api.github.com/repos/apache/spark/issues/10784","id":172170238,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T07:50:30Z","updated_at":"2016-01-16T07:50:30Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49524/\nTest PASSed."}}