Speedup hashmap by speeding up node creation (#76) #49
Annotations
11 warnings
this expression borrows a value the compiler would automatically borrow:
src/nodes/hamt.rs#L138
warning: this expression borrows a value the compiler would automatically borrow
--> src/nodes/hamt.rs:138:13
|
138 | (&mut *result.get()).write(Node::new());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*result.get())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
manual implementation of `BuildHasher::hash_one`:
src/nodes/hamt.rs#L26
warning: manual implementation of `BuildHasher::hash_one`
--> src/nodes/hamt.rs:26:5
|
26 | hasher.finish() as HashBits
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one
= note: `#[warn(clippy::manual_hash_one)]` on by default
help: try
|
24 ~
25 ~
26 ~ bh.hash_one(&key) as HashBits
|
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/[email protected], coverallsapp/github-action@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
this expression borrows a value the compiler would automatically borrow:
src/nodes/hamt.rs#L138
warning: this expression borrows a value the compiler would automatically borrow
--> src/nodes/hamt.rs:138:13
|
138 | (&mut *result.get()).write(Node::new());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*result.get())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
manual implementation of `BuildHasher::hash_one`:
src/nodes/hamt.rs#L26
warning: manual implementation of `BuildHasher::hash_one`
--> src/nodes/hamt.rs:26:5
|
26 | hasher.finish() as HashBits
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one
= note: `#[warn(clippy::manual_hash_one)]` on by default
help: try
|
24 ~
25 ~
26 ~ bh.hash_one(&key) as HashBits
|
|