1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 01:33:16 +00:00
TiddlyWiki5/editions/test/tiddlers/tests
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
..
test-filters.js Add indexes to the wiki store to improve performance (#3951) 2019-05-24 21:07:37 +01:00
test-html-parser.js Get rid of the tweakParseTreeNode() hack 2014-05-14 08:51:08 +01:00
test-tags.js Add indexes to the wiki store to improve performance (#3951) 2019-05-24 21:07:37 +01:00
test-tiddler.js Add isEqual() method to tiddlers 2014-06-23 08:09:59 +01:00
test-utils.js fix for 2634 problems with week calculation 2016-11-29 17:31:54 +01:00
test-widget.js Don't HTML encode single quotes 2015-03-21 14:17:42 +00:00
test-wikitext-parser.js Fix broken test 2018-07-03 12:09:59 +01:00
test-wikitext.js Don't set draggable property for links 2017-03-28 13:05:00 +01:00