Skip to content

Commit

Permalink
feat(hash): use faster hash algorithm instead of safe hasher
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Jan 4, 2025
1 parent 0fedabc commit b175224
Show file tree
Hide file tree
Showing 8 changed files with 767 additions and 955 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-carrots-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'archons': patch
---

Use faster hash algorithm instead of safe hasher
113 changes: 60 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ crate-type = ["cdylib"]
clap = "4.5.13"
napi = "2"
napi-derive = "2"
rustc-hash = "2.0.0"

[build-dependencies]
napi-build = "2"
Expand Down
46 changes: 20 additions & 26 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"words": [
"aarch",
"androideabi",
"bindgen",
"cdylib",
"gnueabihf",
"msvc",
"napi",
"noctisynth",
"oxlint",
"parens",
"prebuild",
"taplo",
"tinybench"
],
"ignoreWords": [
"armv"
],
"ignorePaths": [
"**/node_modules/**",
"**/target/**",
"./npm/*",
"index.js",
"README.md"
]
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"words": [
"aarch",
"androideabi",
"bindgen",
"cdylib",
"gnueabihf",
"msvc",
"napi",
"noctisynth",
"oxlint",
"parens",
"prebuild",
"rustc",
"rustflags",
"taplo",
"tinybench"
],
"ignoreWords": ["armv"],
"ignorePaths": ["**/node_modules/**", "**/target/**", "./npm/*", "index.js", "README.md"]
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@
"postinstall": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@changesets/cli": "^2.27.11",
"@napi-rs/cli": "^2.18.4",
"@swc-node/register": "^1.10.6",
"@swc/core": "^1.6.13",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.10.4",
"@taplo/cli": "^0.7.0",
"ava": "^6.1.3",
"chalk": "^5.3.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"npm-run-all2": "^7.0.0",
"oxlint": "^0.13.0",
"prettier": "^3.3.3",
"tinybench": "^3.0.0",
"ava": "^6.2.0",
"chalk": "^5.4.1",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"npm-run-all2": "^7.0.2",
"oxlint": "^0.15.5",
"prettier": "^3.4.2",
"tinybench": "^3.1.0",
"typescript": "^5.5.3"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit b175224

Please sign in to comment.