Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created January 26, 2018 19:14
Show Gist options
  • Select an option

  • Save sonOfRa/e128e06dbe16bb31bdf7e377eefe5772 to your computer and use it in GitHub Desktop.

Select an option

Save sonOfRa/e128e06dbe16bb31bdf7e377eefe5772 to your computer and use it in GitHub Desktop.
if (options.get("m") != this.memoryCost) {
return true;
}
if (options.get("p") != this.parallelism) {
return true;
}
if (options.get("t") != this.timeCost) {
return true;
}
return false;
return options.get("m") != this.memoryCost
|| options.get("p") != this.parallelism
|| options.get("t") != this.timeCost;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment