rust-lang / rust-lang/rust-bindgen

Possible perf improvements.

Open
#59 3 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.