Skip to content

Backlog: drop RawHashMap, record a tree-shake dead end - #1494

Merged
Frotty merged 1 commit into
masterfrom
backlog-drop-rawhashmap
Oct 18, 2026
Merged

Frotty merged 1 commit into
masterfrom
backlog-drop-rawhashmap

Conversation

@Frotty

@Frotty Frotty commented Oct 18, 2026

Copy link
Copy Markdown
Member

Docs only.

  • Drop the RawHashMap item and docs/NATIVE_KEYED_STORE_DESIGN.md. The stdlib's IntMap and FastKeyedMap already cover the keyed stores the note designed. The note also referred to a FastHashMap the stdlib no longer has. Nothing else linked to it.
  • Record a measured dead end under "Shake what is left, and earlier". Shaking globals which only calls write is not worth doing early. On a large Lua map the first shake keeps 67 of 26,366 globals only for that, the second shake 7, and the calls stay as statements either way. The shaker also cannot tell a call without an effect without the whole-program side-effect analysis the late garbage removal uses, so it would leave calls the late removal drops. The prototype was discarded.

…obals is not worth it

IntMap and FastKeyedMap cover the keyed stores the RawHashMap note
designed, so the item and its design note go. The tree-shake entry
records the measurement which ruled out shaking globals that only calls
write: few globals, and the shaker cannot tell a call without an effect.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T11:21:27.912204Z 3973176 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit ec2f55e into master Oct 18, 2026
2 checks passed
@Frotty
Frotty deleted the backlog-drop-rawhashmap branch October 18, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant