mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
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 |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml | ||
Dockerfile | ||
Dockerfile.scratch | ||
server.toml |