1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 16:24:51 +00:00
TiddlyWiki5/core/modules/startup
Jeremy Ruston a8f70b08a8
Add indexes to the wiki store to improve performance (#3951)
* First pass at modular wiki indexes

An exploratory experiment

* Fix tests

* Faster checking for existence of index methods

We don't really need to check the type

* Use the index for the has operator

* Fix typo

* Move iterator index methods into indexer modules

Now boot.js doesn't know the core indexers

* Fix up the other iterator index functions

* Fix crash with missing index branch

* Limit the field indexer to values less than 128 characters

* Fallback to the old manual scan if the index method returns null
* Sadly, we can no longe re-use the field indexer to accelerate the `has` operator, because the index now omits tiddlers that have field values longer than the limit

Still need to make the index configuration exposed somehow

* Rearrange tests so that we can test with and without indexers

We also need to expose the list of enabled indexers as a config option

* Test the field indexer with different length fields

So that we test the indexed and non-indexed codepaths
2019-05-24 21:07:37 +01:00
..
browser-messaging.js Browser messaging: suppress logging 2019-05-02 20:21:58 +01:00
commands.js Report command errors through $tw.utils.error 2014-10-21 19:31:50 +01:00
favicon.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
info.js Introduce info mechanism 2014-07-20 18:07:30 +01:00
load-modules.js Add indexes to the wiki store to improve performance (#3951) 2019-05-24 21:07:37 +01:00
password.js added localisation for encryption dialog & de-DE translation 2015-03-18 18:52:33 +01:00
render.js DynaView plugin: add optional scroll position preservation 2019-01-11 17:50:52 +00:00
rootwidget.js Fix: tm-full-screen when event.event undefined (#3835) 2019-03-09 17:09:34 +00:00
startup.js Fix default language 2019-03-07 18:46:24 +00:00
story.js Core: Allow startup navigation to be suppressed 2019-03-04 16:59:15 +00:00
windows.js New window: add missing click listener for popups (#3538) 2018-11-13 18:08:54 +00:00