Jeremy Ruston
c52014c66f
Simplify the SQL schema
...
And introduce some very simple tests
2023-10-21 12:00:51 +01:00
Jeremy Ruston
39d04517dd
Experiment with optimising specific filters with direct SQL equivalents
2023-07-21 13:21:04 +01:00
Jeremy Ruston
b9245da91f
Sort tag lookups according to TW semantics
...
Perhaps it would be better to keep the tags in the desired order in the database...
2023-07-20 19:30:02 +01:00
Jeremy Ruston
7fd2dd5a3e
Wire up the tag indexer properly
...
Improves rendering performance by a factor of 4, but we're still 5 times slower than the plain JS store
2023-07-19 21:52:28 +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
64ffa52da9
Write tiddlers with string fields
...
Otherwise date fields will get saved as JS date objects, which are not properly defined in JSON.
2023-07-07 08:22:36 +01:00
jeremy@jermolene.com
2d229e2159
Add logging utility
2023-07-06 11:53:41 +01:00
Jeremy Ruston
87213f2c65
Refactpr sql-wiki-store into two files
2023-06-29 07:55:59 +01:00
Jeremy Ruston
12a19bb9cf
Remove instrumentation
...
Makes the code complex and is hard to keep up to date
2023-06-28 17:27:01 +01:00
jeremy@jermolene.com
ede5f1e9ad
Prepare the save tiddler query
2023-06-28 11:43:57 +01:00
jeremy@jermolene.com
9cb8721343
Use sql functions for processing shadow tiddlers
2023-06-27 19:10:42 +01:00
jeremy@jermolene.com
7e6072611e
Wire the sql functions into the wiki object
...
At this point, the result is incredibly, painfully slow – the wiki will probably fail to load entirely on mobile
2023-06-25 21:05:28 +01:00
jeremy@jermolene.com
9ac21f167f
Simplify the plain JS store implementation
...
Removing indexers and title cache
2023-06-25 17:03:28 +01:00
jeremy@jermolene.com
9427cf7ac6
Additional method to retrieve all titles
2023-06-23 17:33:35 +01:00
jeremy@jermolene.com
8690936805
Cleanup and clarify
2023-06-23 16:58:46 +01:00