Consider `ChunkCursor` maintaining position with pointer
Open
optimization
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently `ChunkCursor` maintains its position in the chunk using a `usize`. Using a pointer instead may be more efficient, although it would take more work to make it sound.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the ChunkCursor implementation and reading how its usize position is used throughout the Lox implementation. Determine whether a pointer can preserve soundness and what safety boundaries are required; done means a justified, sound pointer-based position implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100