Investigate alternate PHF algorithms for detecting keywords
@DimitrisJim đang làm issue này rồi.
Từ ngày 17/5/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
This relates to a discussion on discord a while back.
The basic idea is that we can create a custom hash function for our keywords that's based on their structure (see related video in discussion) and possibly gain a good perf boost by replacing rust_phf. It still needs some investigating and bench-marking to actually evaluate if this would result in any significant improvement.
Afaik, this usually results in a bigger table being generated (for a keyword set of 30 odd functions, we might need a table of 1024 or 2048 elements mostly filled with None's) but that's a small price to pay considering this table should only be generated for the keywords and nothing else.
- Ngôn ngữ chính
- Rust
- Star
- 117
- Fork
- 38
- Merge trung bình
- 4 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 1
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
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 RustPython/Parser
-
Maintenance status Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
RustPython/Parser#140 · 3 bình luận ·
-
`unic` is unmaintained Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
RustPython/Parser#139 · 3 bình luận ·
-
cargo audit paste Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
RustPython/Parser#137 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
RustPython/Parser#133 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
RustPython/Parser#130 ·
Tất cả issue của RustPython/Parser
Issue tương tự
-
Accept -c in more positions Đang mởarea: compat bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
area: dogs bug priority: P3 silent failure test-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
MystenLabs/sui#28056 · 1 bình luận ·
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Luminous-Dynamics/mycelix#2577 ·