docs(reference): document TISH_PACKED_ARRAYS flag (sound, default-off perf wash) - #1
Open
spacedevin wants to merge 1 commit into
Open
docs(reference): document TISH_PACKED_ARRAYS flag (sound, default-off perf wash)#1spacedevin wants to merge 1 commit into
spacedevin wants to merge 1 commit into
Conversation
… perf wash) Add a "Value-representation flags" subsection to the Native Backend reference documenting TISH_PACKED_ARRAYS: unboxed Vec<f64> arrays across all backends with in-place deopt on non-numeric stores, sound (full parity sweep + GAUNTLET checksums vs Node), but kept off by default because it is a performance wash — the VM JIT does not consume NumberArray, so packed never reaches the tier that speeds numeric loops (flag-on within ~1% of flag-off).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Up to standards ✅🟢 Issues
|
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Value-representation flags subsection to the Native Backend reference documenting
TISH_PACKED_ARRAYS: unboxedVec<f64>numeric arrays across all backends (interp/vm/native) with in-place deopt (Packed → Boxed) on non-numeric stores so aliases stay sound; sound (full parity sweep flag-on vs flag-off across backends + GAUNTLET checksums vs Node); kept off by default on purpose because it is a performance wash — the VM JIT does not consumeNumberArray, so packed never reaches the tier that speeds numeric loops (flag-on within ~1% of flag-off). Mirrors the authoritativedocs/packed-arrays.mdin the tish repo (tishlang/tish#521, following #520). Docs-only.