1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 14:54:51 +00:00
TiddlyWiki5/core/modules
Jermolene 9fc2086b71 Optimise sameday filter
I used this test:

console.time();for(var t=0; t<200; t++)
{$tw.wiki.filterTiddlers("[all[tiddlers+shadows]sameday[20170210]]");};c
onsole.timeEnd()

Before this patch, I got speeds of approx 190ms, versus 140ms
afterwards.

Note that the ability to add a cache property like this is only
possible because tiddler objects are immutable.
2017-02-21 08:31:05 +00:00
..
commands Add new "fetch" command 2017-02-18 13:33:41 +00:00
editor Refresh simple editor when empty text, e.g. hitting ENTER (#2702) 2017-01-09 10:31:40 +00:00
filters Optimise sameday filter 2017-02-21 08:31:05 +00:00
info Expose document location via $:/info/url/* info tiddlers 2016-10-18 09:12:55 +01:00
macros Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
parsers Add support for other movie content types 2016-12-23 08:34:07 +00:00
savers Better error trapping for WebDAV saver 2017-02-18 12:12:29 +00:00
startup Add page print button 2016-10-20 09:44:52 +01:00
storyviews Revert getTiddlerData() and add getTiddlerDataCached() 2015-07-10 16:43:50 +01:00
upgraders Revert getTiddlerData() and add getTiddlerDataCached() 2015-07-10 16:43:50 +01:00
utils Major refactoring of filesystemadaptor 2017-02-11 12:56:42 +00:00
widgets Add support for th-navigating event 2017-02-19 15:47:37 +00:00
commander.js Add logging functions to commander 2017-02-18 13:30:04 +00:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Trap JSON syntax errors during import 2016-10-13 14:16:55 +01:00
filters.js Removed unused vars + some whitespace (#2106) 2016-10-08 13:32:14 +01:00
keyboard.js Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Add experimental support for RTL languages 2016-08-15 19:47:26 +01:00
saver-handler.js Rename variable for clarity 2017-02-04 17:24:25 +00:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Remove obsolete code 2017-02-04 18:14:20 +00:00
tiddler.js Optimise sameday filter 2017-02-21 08:31:05 +00:00
wiki-bulkops.js Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
wiki.js Add wiki.checkTiddlerText() convenience method 2017-02-09 15:43:28 +00:00