cli: add safe owning numeric-key maps

Register std.map with bounded U64Map<V>, exact key equality and explicit
allocation/growth. Preserve returned ownership, old slots on reserve failure
and original-authority refunds; support Copy values, owners and resources.

Cover collision/tombstone/wrap behavior, independent dictionary traces,
quota/cleanup/borrow/task rules, source/AIR parity and hosted/package CLI.
Publish the API, roadmap and measured documentation cost. General key
hashing/equality remains Q-037; numeric maps do not satisfy that gate.
This commit is contained in:
dev committed 2026-10-07 08:36:23 +03:00
1 parent fc23f1b23a
commit 57603860df
46 files changed
+2430 -15

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ pub fn build(b: *std.Build) void {
mod.addAnonymousImport("std_encoding_hex_aji", .{ .root_source_file = b.path("std/encoding/hex.aji") });
mod.addAnonymousImport("std_fmt_aji", .{ .root_source_file = b.path("std/fmt.aji") });
mod.addAnonymousImport("std_hash_aji", .{ .root_source_file = b.path("std/hash.aji") });
mod.addAnonymousImport("std_map_aji", .{ .root_source_file = b.path("std/map.aji") });
mod.addAnonymousImport("std_math_aji", .{ .root_source_file = b.path("std/math.aji") });
mod.addAnonymousImport("std_option_aji", .{ .root_source_file = b.path("std/option.aji") });
mod.addAnonymousImport("std_result_aji", .{ .root_source_file = b.path("std/result.aji") });