Clarification: k and v contents may be modified after returning from Set.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- documentation
Hướng nghiên cứu
Review the documentation for Set and the other methods with the same descriptor, starting with the wording quoted in the issue. Confirm how the methods handle the k and v byte arrays, then revise the text so readers do not interpret it as the methods modifying those arrays; done means the ownership and reuse behavior is unambiguous.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Several methods have a similar descriptor to the following in the docs:
k and v contents may be modified after returning from Set.
Upon first reading, I assumed that the Set() method would modify the k and v byte arrays and copies should be passed into the fastcache methods.
I couldn't believe it and only after spending some time digging in the source did I realize that these sentences probably meant that the fastcache methods themselves stored copies of the k and v arrays and that you didn't have to worry about reusing the originals.
Just a heads up, I found the particular wording confusing, perhaps consider a slightly different wording.
- Ngôn ngữ chính
- Go
- Star
- 2.4k
- Fork
- 199
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VictoriaMetrics/fastcache
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
VictoriaMetrics/fastcache#98 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
VictoriaMetrics/fastcache#80 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
VictoriaMetrics/fastcache#79 · 1 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
VictoriaMetrics/fastcache#75 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
VictoriaMetrics/fastcache#74 ·
Tất cả issue của VictoriaMetrics/fastcache
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
VictoriaMetrics/VictoriaLogs#1965 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sign-off cards drift between formats; write down one card formatCó thể đã có người làm @keyxmakerx đã nhận hôm nay. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
keyxmakerx/Chronicle#2795 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ElasticSearch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aliyun/terraform-provider-alicloud#11614 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: Quick chat and quick terminal text renders blurry in WebKit (Orion), sharp in ChromiumĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày