rust-lang / rust-lang/rust-bindgen
Possible perf improvements.
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 829
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 15
Description
Just a few I'm thinking about off the top of my head, just in case someone wants to get to them.
- Reuse builtin types indexed by constness.
- Use fnv.
- Parallelize codegen? (Should be easy-ish using rayon).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. Start by locating bindgen's code-generation path and profiling it, then choose one listed idea—builtin-type reuse, FNV, or rayon-based parallelization. Done should mean a measurable performance improvement for the selected area without changing generated binding behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100