python / python/cpython

Speed up sqlite3.Row

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

@erlend-aasland đang làm issue này rồi.

Từ ngày 10/2/2025.

  • #129927 của @erlend-aasland — đang mở
extension-modules performance topic-sqlite3 type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Feature or enhancement

Proposal:

We can speed up sqlite.Row subscripting a bit:

  • in pysqlite_row_subscript, after finding the correct index, use fast tuple API to access data
  • in equal_ignore_case, we can simply assert that we are given two unicode objects
Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs
  • gh-129927

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

Mở hướng dẫn đóng góp

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.

Đánh giá

Issue này chưa được đánh giá.

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.