sql-js / sql-js/sql.js

what is the upper limit of number of user defined function and relationship to `RESERVED_FUNCTION_POINTERS`

オープン
#215 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I ran into Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS -- I understand I could build sql.js with a higher value for RESERVED_FUNCTION_POINTERS, but I just wanted to make sure the issue was actually the number of UDFs:

is there a rule of thumb number of user defined functions? I ran into this problem with about 5 unique ones (but I call .create_function quite a few times because i need to update the udf) --- is the function pointers counted by distinct udf names, or the number that create_function is called?

Would the RESERVED_FUNCTION_POINTERS correspond directly to the number of .create_function or distinct UDFs, or neither of the two?

Thanks so much!!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

The issue names no source file, test, or entry point. Start by tracing sql.js's SQLite UDF registration and RESERVED_FUNCTION_POINTERS handling, then document whether repeated create_function calls or distinct functions consume pointers; a reproducible case and clear rule of thumb would define done.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, sqlite, wasm
領域
databases
issue の種類
ドキュメント
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。