king2b3 / king2b3/compilers-project

change token look ups to o(1)

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

instead of looking through keys o(n), set up an else case for the dict

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the token lookup implementation and inspect how it currently searches keys. Confirm the dictionary-based lookup and its fallback behavior, then run the project's existing checks to verify that token lookup still works correctly without scanning keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.