binyomen / binyomen/loxide

Consider `ChunkCursor` maintaining position with pointer

Open
#4 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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.