perf: offer array-shaped query results
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
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, javascript, react-native, sqlite
- Lĩnh vực
- database, mobile, performance
Hướng nghiên cứu
Begin with PR #389's converter and the existing synchronous, asynchronous, and prepared-statement query entry points. Add coverage for both result modes, including duplicate aliases, NULL, text, numbers, BLOBs, and empty results, then compare narrow and wide full-row consumption on iOS and Android Release builds for conversion time and peak memory.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Object-shaped results create a JavaScript object and set a property for every returned column. PR #389 removes the native row maps and an intermediate copy, but its converter still builds those JavaScript objects. For callers that consume wide results by column position, an array-shaped result may reduce conversion time and memory.
Add an opt-in result mode that returns each row as an array alongside column names in SQL order. Keep the existing object-shaped result as the default. The API should work for ordinary synchronous and asynchronous queries and prepared statements without creating a second SQL execution path. An ordered column list matters because duplicate aliases cannot be represented faithfully by the current metadata map.
Measure this against the object converter after #389 on the same Release builds. Include both narrow and wide queries, full row consumption, conversion time, and peak memory on iOS and Android. Preserve the old behavior for duplicate aliases in object mode and test NULL, text, numbers, BLOBs, and empty results in both modes.
Related: #30, #62, #389. The timings in #30 came from the old QuickSQLite implementation and are not an expected v10 speedup.
- Ngôn ngữ chính
- C
- Star
- 579
- Fork
- 53
- Merge trung bình
- 2 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 67
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 margelo/react-native-nitro-sqlite
-
feat: bind named SQL parametersĐang mởarea:api area:runtime enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
margelo/react-native-nitro-sqlite#402 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:runtime enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
margelo/react-native-nitro-sqlite#401 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:runtime enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
margelo/react-native-nitro-sqlite#400 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:runtime enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
margelo/react-native-nitro-sqlite#399 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:runtime enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
margelo/react-native-nitro-sqlite#398 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của margelo/react-native-nitro-sqlite
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
MixinNetwork/flutter-plugins#512 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
betaflight/betaflight#15801 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
InauguralSystems/EigenScript#1628 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove Joker Edition CodeĐang mởRefactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
GBALATRO/balatro-gba#638 · 1 bình luận ·