gperftools / gperftools/gperftools
Make more internal constants configurable
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
In MongoDB we’ve changed a couple of hard-coded constants in src/common.h. I think it would make sense to expose more of them as configurable parameters when calling ./configure
What do you think? I’m happy to send pull requests. We can discuss the specific constant in the respective PR.
One thing that we would like is more options for page size. I noticed #906 was opened but never merged, presumable because of the advanced shell script using log2. I can open a PR for a simpler solution.
Contributor guide
No contributing guide indexed for this repository
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
Start by reviewing the hard-coded constants in src/common.h, the existing ./configure options, and issue #906's page-size proposal. Clarify which constants should become parameters, then verify that the selected options are exposed by configure and that the project still builds with them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, shell
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100