0xPlaygrounds / 0xPlaygrounds/rig
Get rid of 0 -1 sentinel values
Aperta
- Lingua principale
- Rust
- Stelle
- 8.6k
- Fork
- 959
- Merge medio
- 4h 32m
- PR unite (30g)
- 117
Descrizione
Rig occasionally uses 0 to mean infinite, should probably switch those to Option types or use NonZerou64 magic
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Find where 0 and -1 sentinel values are used to represent infinite or missing values in the codebase. Replace them with Option types or NonZeroU64 as appropriate. Look for patterns in numeric handling, especially in configuration or limit settings. Run existing tests to ensure the refactor doesn't break functionality.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- backend
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 65/100