Skip to content

Improve jump table linking performance#1

Draft
mbbill wants to merge 1 commit into
mainfrom
codex/improve-interpreter-performance
Draft

Improve jump table linking performance#1
mbbill wants to merge 1 commit into
mainfrom
codex/improve-interpreter-performance

Conversation

@mbbill

@mbbill mbbill commented Jun 6, 2025

Copy link
Copy Markdown
Owner

Summary

  • implement find_next_jt_idx helper using binary search
  • use the helper when linking jump table to avoid O(n^2) scan

Testing

  • python3 build.py Debug (fails: unable to clone libuv)

https://chatgpt.com/codex/tasks/task_e_6840cff05850832a80f892db1b4e1532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant