Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert MurmurHash3_64 to an ES6 class #10633

Merged
merged 1 commit into from
Mar 9, 2019

Conversation

Snuffleupagus
Copy link
Collaborator

Notable changes:

  • Remove the return this; from the MurmurHash3_64.update method, since it's completely unused and doesn't make a lot of sense.
  • Remove the loop(s) from the MurmurHash3_64.hexdigest method, since creating a temporary array and then looping over it is wasteful given how simple this can be written with modern JavaScript.

Notable changes:
 - Remove the `return this;` from the `MurmurHash3_64.update` method, since it's completely unused and doesn't make a lot of sense.
 - Remove the loop(s) from the `MurmurHash3_64.hexdigest` method, since creating a temporary array and then looping over it is wasteful given how simple this can be written with modern JavaScript.
@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Mar 9, 2019

From: Bot.io (Linux m4)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/2375e83a5c7dbb2/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 9, 2019

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 1

Live output at: http://54.215.176.217:8877/5fce5f5928703de/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 9, 2019

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/2375e83a5c7dbb2/output.txt

Total script time: 17.91 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Mar 9, 2019

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/5fce5f5928703de/output.txt

Total script time: 25.64 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij timvandermeij merged commit d587abb into mozilla:master Mar 9, 2019
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the murmurhash-class branch March 10, 2019 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants