cli: add safe owning binary heaps
Add std.heap with an exact explicit pure ordering operation, bounded push, Copy-only peek, moving pop and empty-only free. Sift Copy indices while complete owners remain in dense initialized storage; repair holes through complete exchange. Reserve preserves layout on returned failure and accounts for both old/new buffers and separately owned payloads. Integrate normative contracts, RFC, references, bundle measurements, independent heapq/permutation oracles and CLI/package/profile checks. Validation: 1007 conformance cases; 34 heap GC fixtures and scheduled stress; unit/Quick Reference, formatting, hosted smoke, 70 CLI checks, 109 source coverage constructs and unchanged AIR reference bundle.
This commit is contained in:
1 parent
4114a39846
commit
cfece6080c
51 files changed
+2192
-12
No files matched your search
@@ -35,6 +35,7 @@ pub fn build(b: *std.Build) void {
|
||||
mod.addAnonymousImport("std_hash_aji", .{ .root_source_file = b.path("std/hash.aji") });
|
||||
mod.addAnonymousImport("std_hashmap_aji", .{ .root_source_file = b.path("std/hashmap.aji") });
|
||||
mod.addAnonymousImport("std_hashset_aji", .{ .root_source_file = b.path("std/hashset.aji") });
|
||||
mod.addAnonymousImport("std_heap_aji", .{ .root_source_file = b.path("std/heap.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") });
|
||||
|
||||
Reference in new issue
Block a user