0xPlaygrounds / 0xPlaygrounds/rig
Get rid of 0 -1 sentinel values
Đang mở
- Ngôn ngữ chính
- Rust
- Star
- 8.6k
- Fork
- 959
- Merge trung bình
- 4 giờ 32 phút
- Pull request đã merge (30 ngày)
- 117
Mô tả
Rig occasionally uses 0 to mean infinite, should probably switch those to Option types or use NonZerou64 magic
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust
- Lĩnh vực
- backend
- Loại issue
- Tái cấu trúc
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 65/100