snix/snix
edef 479e6ad5c6 fix(snix/castore/import): don't allocate parent repeatedly
We use hashbrown directly (instead of through std::collections::HashMap)
so that we can use HashMap::entry_ref, which only allocates if the entry
is not yet occupied.

This implicitly switches our hash to a less long-term DoS-resistant one
(foldhash rather than SipHash), but we don't usually face HashDoS risks
when ingesting archives.

Change-Id: I3e7fc2cd08d96380cd9fd62bfcfe6cd24698bc9a
Reviewed-on: https://cl.snix.dev/c/snix/+/30277
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-24 22:57:42 +00:00
..
.vscode chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
boot chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
build fix(snix/build): Don't enable cgroup namespace in oci build. 2025-03-21 22:25:17 +00:00
build-go chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
castore fix(snix/castore/import): don't allocate parent repeatedly 2025-03-24 22:57:42 +00:00
castore-go chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
cli fix(cli): use logging infra instead of print(ln), do not mess up progress bars 2025-03-21 17:45:39 +00:00
docs docs(reference/nix-daemon-protocol): migrate 2025-03-24 17:33:58 +00:00
eval fix(cli): use logging infra instead of print(ln), do not mess up progress bars 2025-03-21 17:45:39 +00:00
glue chore(glue/tests): pretty print the errors 2025-03-21 17:34:54 +00:00
nar-bridge chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
nix-compat refactor(snix/nix-compat/derivation): minor cleanup 2025-03-24 20:52:55 +00:00
nix-compat-derive chore(third_party/sources): Update 2025-03-18 23:23:16 +00:00
nix-compat-derive-tests chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
nix-daemon fix(treewide): remove trailing whitespace 2025-03-22 17:29:59 +00:00
nix-lang-test-suite chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
serde chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
store fix(snix/store/import): don't unsafely construct OsStr 2025-03-23 18:29:10 +00:00
store-go chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
tracing chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
verify-lang-tests chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
.gitignore chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
Cargo.lock fix(snix/castore/import): don't allocate parent repeatedly 2025-03-24 22:57:42 +00:00
Cargo.nix fix(snix/castore/import): don't allocate parent repeatedly 2025-03-24 22:57:42 +00:00
Cargo.toml chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
clippy.toml chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
crate-hashes.json fix(treewide): add missing final newlines 2025-03-21 13:33:32 +00:00
default.nix feat(readTree): Add special here argument. 2025-03-18 20:48:29 +00:00
LICENSE chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
logo.webp chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
shell.nix fix(tvix/shell): simplify darwin-specific overrides 2025-03-18 23:07:01 +00:00
utils.nix fix(snix/utils): use filterRustCrateSrc for nix-daemon 2025-03-18 15:29:28 +00:00