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

Aberta
#215 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
15/100
Tipo de issue
Documentação
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
javascript, sqlite, wasm
Domínio
databases

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
JavaScript
Estrelas
13.7k
Forks
1.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sql-js/sql.js

Todas as issues de sql-js/sql.js

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.