kanidm/kanidmd
Firstyear 29566b8f99
259 reduce clones (#319)
Fixes #259. Thanks to the linked worked example, we can reduce a problematic set of clones during filter metadata injection. Previously we had to create a new hashset every time we went to resolve index metadata in queries, but with this change we can now just use the copy-on-write hashset instead. This will improve cache access, reduces clones, and more. In a cargo test run this takes out nearly 15% of the execution time (on my system reducing the test time by nearly 35 seconds).

https://github.com/sunshowers/borrow-complex-key-example/blob/master/src/lib.rs
2020-09-11 12:39:05 +10:00
..
benches Add concurrent structures, and initial attempt at benchmarking (#173) 2020-01-26 19:55:53 +10:00
src 259 reduce clones (#319) 2020-09-11 12:39:05 +10:00
Cargo.toml 259 reduce clones (#319) 2020-09-11 12:39:05 +10:00
Dockerfile Build improvements 2020-08-09 10:44:10 +10:00
Dockerfile.scratch Merge docker image github actions into unique 2020-05-07 12:37:14 +10:00
server.toml 259 reduce clones (#319) 2020-09-11 12:39:05 +10:00