python / python/cpython

msgfmt: Generate GNU hash table

Open
#131,725 3 comments 1 reaction 1 assignee View on GitHub

@StanFromIreland is already working on this.

Since Mar 28, 2025.

triaged type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

Proposal:

Assigning self, I am working on this.

I was working on https://github.com/python/cpython/issues/79809 however I thought it would be best to first to have Python generate the hash table and then to decode it :-)

PR soon, just have to figure out how to test it!

For GNU gettext the mo files generated by my modifications result in a 27% speed up.

cc @tomasr8

Linked PRs
  • gh-131727

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.