python / python/cpython

msgfmt: Generate GNU hash table

Offen
#131,725 3 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@StanFromIreland arbeitet bereits daran.

Seit 28.3.2025.

triaged type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
35.9k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.