Actyx / Actyx/banyan

Add overrides for the iterator methods that do not get the key

Đang mở
#86 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
42
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Materializing the keys out of the compact sequences is a significant part of the work. But in some cases you only need the value.

There should be variants of the 2 iter methods that return (Offset, Value) instead of (Offset, Key, Value). That would be faster and fewer mallocs.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by locating the two iterator methods referred to in the issue and trace how compact sequences materialize keys. Compare their existing return values and identify the corresponding variants that return (Offset, Value); done means both variants avoid unnecessary key materialization while preserving iterator behavior and reducing allocations.

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
tooling
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.