storage/filesystem: fold mmap optimisations into storage/filesystem
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the storage/filesystem/mmap package and compare its PackScanner and mmap-based object lookup with storage/filesystem and internal/packhandle. Review the duplicated idx/rev lookup and object-resolution paths, then determine whether the package should be folded into storage/filesystem or moved to x/storage; the issue leaves that design decision open.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We currently have two separate mmap code paths for reading packs:
- The default storer (
storage/filesystem→internal/packhandle): it reads mmap-backed files when the caller builds the billy fs with osfs.WithMmap(). storage/filesystem/mmap: a standalonePackScannerthat mmaps.pack/.idx/.revitself (unix.Mmap,MAP_SHARED), re-implements idx fanout/offset lookup and rev lookup, and resolves objects through its own ondemandObject and zlib/delta handling.
Before the v6 release, let's review storage/filesystem/mmap and either fold it into storage/filesystem or move it to x/storage.
- Ngôn ngữ chính
- Go
- Star
- 7.9k
- Fork
- 1.1k
- Merge trung bình
- 4 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 34
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 go-git/go-git
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 3 ngày
-
plumbing: ReferenceName.Short() is slow (5× fmt.Sscanf per call, panic/recover on mismatch)Có thể đã có người làm @blakepettersson đã nhận 11 ngày trước. Đ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 3 ngày
-
storage/filesystem: EncodedObjectSize leaks the loose object file handleCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
`GO_GIT_USER_AGENT_EXTRA` puts a space in the `agent` capabilityCó thể đã có người làm @BoxBoxJason đã nhận 54 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Worktree checkout rejects Windows reserved device names (e.g. prn.sh) on Linux/macOS — regression since v5.19.1Có thể đã có người làm @SomSamantray đã nhận 102 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
go-git/go-git#2322 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của go-git/go-git
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
alibaba/MongoShake#1077 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mattermost/mattermost-plugin-jira#1397 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Free CS Systems Workshops, Starter Scaffolds & Zero-Dependency Verification CLI to CS SeriesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
documentation linkinator-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100