-
Notifications
You must be signed in to change notification settings - Fork 11
chore - Replace RFC 101 OrdinalKey bridge with RFC 098/099 trait-owned capability support #596
Copy link
Copy link
Open
Labels
incan compilerSuggestions, features, or bugs related to the Compiler (frontend/backend/codegen)Suggestions, features, or bugs related to the Compiler (frontend/backend/codegen)incan language semanticsSuggestions, features, or bugs related to the Incan Language itself (syntax and semantics)Suggestions, features, or bugs related to the Incan Language itself (syntax and semantics)runtime / core cratesSuggestions, features, or bugs related to the `incan-core`, `incan-stdlib`, 'incan-derive` cratesSuggestions, features, or bugs related to the `incan-core`, `incan-stdlib`, 'incan-derive` crates
Milestone
Metadata
Metadata
Assignees
Labels
incan compilerSuggestions, features, or bugs related to the Compiler (frontend/backend/codegen)Suggestions, features, or bugs related to the Compiler (frontend/backend/codegen)incan language semanticsSuggestions, features, or bugs related to the Incan Language itself (syntax and semantics)Suggestions, features, or bugs related to the Incan Language itself (syntax and semantics)runtime / core cratesSuggestions, features, or bugs related to the `incan-core`, `incan-stdlib`, 'incan-derive` cratesSuggestions, features, or bugs related to the `incan-core`, `incan-stdlib`, 'incan-derive` crates
Type
Fields
Give feedbackNo fields configured for Chore.
Area
Summary
RFC 101 (
std.collections.OrdinalMap) is implemented for v0.3, including the deterministicOrdinalKeysurface and benchmarked lookup behavior. The v0.3 implementation deliberately carries a narrow Rust/compiler bridge for deterministic scalar key conformance because RFC 098 and RFC 099 are not in scope until v0.5.This chore tracks paying down that bridge once the v0.5 trait-system work lands. It is blocked by:
The goal is not to reopen RFC 101. The goal is to keep RFC 101's public behavior and performance while moving the remaining bridge into the proper Incan trait-system model.
Scope
OrdinalKeyscalar conformance through the RFC 098/099 trait-owned capability-family machinery.std.collections.OrdinalMappublic API and serialization contract stable.OrdinalMapsemantics or making unchecked lookup the default.OrdinalMapwith a general physical database index abstraction.str/byteslookup paths.OrdinalKeyconformance.Plan
OrdinalKeydeterministic scalar family through that model instead of RFC 101-specific compiler logic.dict,fastconstmap, and IncanOrdinalMap.Done when
OrdinalKeyscalar conformance to be expressed through the normal trait-system path.OrdinalMapAPI, deterministic serialization, exact safe lookup, unchecked lookup, batch lookup, and supported key matrix continue to pass tests.