Optimization of Fundamental Operations

Đang mở
#1,489 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 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
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
performance

Hướng nghiên cứu

Start by profiling the basic operations named in the issue—comparisons, add, sub, mul, div, and mod—with flame graphs, paying particular attention to the rounding stage. Review the existing Granlund-Montgomery reciprocal multiplication and define done as measurable speedups against the current implementation and industry standards.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

optimization

@ibmibmibm I think you've hit parts of the basic ops (comparisons, add, sub, mul, div, mod) in some of your recent PRs, but I think it may be worth studying these again since you've shown speedups. It's been a while since I made flame graphs, but previously the rounding stage was dominant in cost. You'll see I added Granlund-Montgomery reciprocal multiplication in the last release to try and speed things up. If you have time or interest I think this would be a good use of time so we can grow the lead vs industry standards.

Ngôn ngữ chính
C++
Star
67
Fork
16
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
12

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của boostorg/decimal

Tất cả issue của boostorg/decimal

Issue tương tự

Thêm issue về C++

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.