Simplify `max_as/l` application

Offen
#85 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend

Rechercherichtung

The issue names no files or tests. Start by tracing how max_as/l are applied during grid loading and how later checks and operations use the loaded grids. Determine whether trimming subgrids at load time preserves the expected lower order, then compare memory use and code paths; done means higher order grids are handled consistently without separate special cases.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement refactor

When max_as/l are specified, to use grids at a lower order than available (e.g. computing an NLO theory from NNLO grids), everything might be done consistently just cutting the grids during loading: everything else (checks and operations) will be done adaptively according to the loaded grids, that will always be used completely.

This will have the advantage of only loading (or keeping in memory) the required subgrids, lowering the memory impact of Pineko in these cases, and the even greater advantage of simplifying the code, since there will be no need to separately consider the case of grids containing orders higher than needed.

Vorherrschende Sprache
Python
Sterne
2
Forks
0
Ø Merge
10 T. 34 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NNPDF/pineko

Alle Issues in NNPDF/pineko

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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