Files
scriptc/tests/library-mode/reinit/profile.json
Chris Tateandmmamedel 9080986166 Add sparse UTF-16 indexing for large strings (#275)
* fix: index large unicode strings sparsely

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: retain sparse anchors for long ascii prefixes

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: skip sparse index for proven ASCII strings

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: complete sparse UTF-16 string indexing

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* test: rebase static size contracts for sparse index

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* test: retain sparse checkpoints through ASCII prefix end

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: retain sparse anchors across threshold append

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: retain sparse indexes beyond cursor cache

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: bound sparse string index residency

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* fix: isolate sparse string index residency

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>

* test: restore parseInt oracle outputs

* test: verify committed string oracle

- Regenerate the string case oracle with the active Node executable.\n- Compare the checked-in fixture byte-for-byte before native runtime checks.\n- Keep the Linux parseInt ULP allowance scoped to native output.

---------

Co-authored-by: mmamedel <23098414+mmamedel@users.noreply.github.com>
2026-08-31 17:12:52 -05:00

20 lines
656 B
JSON

{
"profile_format": 1,
"name": "conformance-reinit",
"entry": "lib.ts",
"emission": "llvm",
"abi": {
"prefix": "kr_",
"init_symbol": "kr_init",
"sink_register_symbol": "kr_set_panic_sink",
"collect_symbol": "kr_collect",
"result_reset_symbol": null
},
"exports": [
{ "export": "bump", "symbol": "kr_bump", "params": [], "returns": "f64" },
{ "export": "note", "symbol": "kr_note", "params": ["string"], "returns": "f64" },
{ "export": "recall", "symbol": "kr_recall", "params": [], "returns": "string" },
{ "export": "indexedUnicode", "symbol": "kr_indexed_unicode", "params": [], "returns": "f64" }
]
}