sql-js / sql-js/sql.js

sql.js size optimization

Offen
#74 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
13.7k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Not exactly a issue, more of a question/idea. I'm trying for a serverless application, and I need to run a few complex queries (tree-like and such). The data would be imported from another source on load time and there would be no need to maintain it, just query. In the end, I would need a sql.js that could:

  • create tables (no need to alter/drop);
  • insert data (no need to update/delete);
  • run complex query on low volume data (few thousand lines at most - no need for views, but temp tables, indexes and subqueries needed).

Do you know if these are achievable on compile time? And would you consider making a sql.js version with such features? If possible, I imagine this could shrink the sql.js a lot.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

The issue names no files, tests, or entry points. First determine whether sql.js/SQLite features can be excluded at compile time while retaining table creation, inserts, indexes, temporary tables, subqueries, and complex queries. Done would include a measured smaller build and confirmation that the requested operations still work.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, sqlite, wasm
Bereich
build-system, databases
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.