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

Aperta
#215 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, sqlite, wasm
Ambito
databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!!

Lingua principale
JavaScript
Stelle
13.7k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sql-js/sql.js

Tutte le issue di sql-js/sql.js

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.