1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-06-01 06:04:06 +00:00
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
..
2017-02-18 13:33:41 +00:00
2017-02-21 08:31:05 +00:00
2016-10-20 09:44:52 +01:00
2017-02-04 17:24:25 +00:00
2017-02-04 18:14:20 +00:00
2017-02-21 08:31:05 +00:00