docs: rename the native provider to @soulcraft/cor across public docs and JSDoc
The 3.0 native engine ships as @soulcraft/cor (brainy 8.x <-> cor 3.x are a version-matched pair); the old @soulcraft/cortex package stays on the 2.x/7.x line. Public docs and .d.ts-visible comments now name the correct package. Historical 2.x contract references (e.g. the 2.3.1 read-side fallback) keep the old name deliberately.
This commit is contained in:
parent
a3c2717ddb
commit
bf4a333f9b
38 changed files with 104 additions and 104 deletions
|
|
@ -8,7 +8,7 @@
|
|||
* This module exposes a swappable `sort:topK` seam:
|
||||
* - {@link rankIndicesByScore} returns the indices of `scores` ordered exactly as a
|
||||
* descending stable sort would order them, then truncated to `k`.
|
||||
* - {@link setSortTopKImplementation} lets a native plugin (e.g. cortex's Rust
|
||||
* - {@link setSortTopKImplementation} lets a native plugin (e.g. cor's Rust
|
||||
* partial-sort / heap-select) replace the JS implementation. The native provider
|
||||
* only has to return the same *index ordering* the JS path produces.
|
||||
*
|
||||
|
|
@ -147,7 +147,7 @@ export function reorderByIndices<T>(items: T[], order: number[]): T[] {
|
|||
}
|
||||
|
||||
/**
|
||||
* Replace the `sort:topK` implementation at runtime (e.g. cortex's native partial sort).
|
||||
* Replace the `sort:topK` implementation at runtime (e.g. cor's native partial sort).
|
||||
* Called by `brainy.ts` when a `sort:topK` provider is registered. Pass
|
||||
* {@link sortTopKIndicesJs} to restore the JS default.
|
||||
*
|
||||
|
|
|
|||
Reference in a new issue