binyomen / binyomen/loxide

Consider internally representing identifiers from globals and class fields as unique numbers

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

Description

This could potentially speed up hash map access for these values, since we can just key off the number rather than the identifier string.

We could use some incrementing number as we compile the code. We shouldn't use the hash values of the strings, since those could collide.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating how globals, class fields, and identifier strings are represented during compilation, then determine the affected lookup paths and define benchmarks or tests that show numeric identifiers preserve behavior and improve access.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.