1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-28 23:10:46 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Jeremy Ruston
e4af21a169 Don't use LEFT JOIN unless we have to 2023-10-27 14:10:30 +01:00
Jeremy Ruston
01e1882083 More indexes 2023-10-27 10:31:39 +01:00
Jeremy Ruston
e9d640b61b Fix sqlAllTitles wrongly including shadow tiddlers 2023-10-25 18:02:56 +01:00
Jeremy Ruston
12c6cb35a0 Add indexes for columns used in joins
Doesn't actually appear to make any appreciable difference
2023-10-25 11:38:08 +01:00
Jeremy Ruston
f49b9faab0 Move tags into their own tables
This roughly halves the bootup time of the prerelease wiki
2023-10-25 11:29:38 +01:00
Jeremy Ruston
d4dec0ca65 Use the empty string as special plugin name for ordinary tiddlers
Using NULL was working against the grain of SQL
2023-10-24 18:41:34 +01:00
Jeremy Ruston
c52014c66f Simplify the SQL schema
And introduce some very simple tests
2023-10-21 12:00:51 +01:00
Jeremy Ruston
e6309e95c9 Fix tag collation syntax 2023-07-29 11:48:35 +01:00
Jeremy Ruston
39d04517dd Experiment with optimising specific filters with direct SQL equivalents 2023-07-21 13:21:04 +01:00
Jeremy Ruston
2cd2a057f8 Fix tag saving 2023-07-19 19:52:34 +01:00
Jeremy Ruston
cc2cd20e32 Add tags tables and tag indexer and make custom collator be optional
This commit (a) is very much work in progress (b) improves performance significantly and (c) is actually broken

Right now, theme stylesheets don't get loaded for some reason.

I plan to spend some time improving debuggability by adding a SQL console
2023-07-18 19:33:21 +01:00
Jeremy Ruston
b557deac79 Update comment 2023-07-07 10:15:40 +01:00
Jeremy Ruston
d2e21ddd3c Add a custom collator that matches JS ordering 2023-07-07 08:20:57 +01:00
jeremy@jermolene.com
9e190a46db Use a temporary database so that multiple wiki stores can coexist 2023-07-06 11:54:03 +01:00
jeremy@jermolene.com
2d229e2159 Add logging utility 2023-07-06 11:53:41 +01:00
jeremy@jermolene.com
1f4be3e92f I experimented with custom collations to match JS sort order, but 5x slower 2023-06-30 10:46:27 +01:00
Jeremy Ruston
b29af447e5 Fix typo 2023-06-29 22:49:08 +01:00
Jeremy Ruston
87213f2c65 Refactpr sql-wiki-store into two files 2023-06-29 07:55:59 +01:00