perf: offer array-shaped query results
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp, javascript, react-native, sqlite
- 領域
- database, mobile, performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 579
- フォーク
- 53
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 67
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
margelo/react-native-nitro-sqlite のほかの issue
-
area:api area:runtime enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
margelo/react-native-nitro-sqlite#402 ·
メンテナーはふだん 1 日以内に返信
-
area:api area:runtime enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
margelo/react-native-nitro-sqlite#401 ·
メンテナーはふだん 1 日以内に返信
-
area:api area:runtime enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
margelo/react-native-nitro-sqlite#400 ·
メンテナーはふだん 1 日以内に返信
-
area:api area:runtime enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
margelo/react-native-nitro-sqlite#399 ·
メンテナーはふだん 1 日以内に返信
-
area:api area:runtime enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
margelo/react-native-nitro-sqlite#398 ·
メンテナーはふだん 1 日以内に返信
margelo/react-native-nitro-sqlite の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dkfans/keeperfx#5415 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ARM-software/sysarch-acs#600 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
EchoTools/nevr-runtime#117 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信