1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00
TiddlyWiki5/boot
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
..
boot.css.tid Rename "tw-error-*" classes to "tc-error-*" 2014-08-28 17:39:32 +01:00
boot.js Optimise sameday filter 2017-02-21 08:31:05 +00:00
bootprefix.js Minor tweaks to boot kernel for AWS 2015-12-19 18:52:25 +00:00
sjcl-license.txt Update to Stanford JavaScript Library v1.0.6 2016-12-15 17:13:32 +00:00
sjcl-license.txt.meta Update to Stanford JavaScript Library v1.0.6 2016-12-15 17:13:32 +00:00
sjcl.js Update to Stanford JavaScript Library v1.0.6 2016-12-15 17:13:32 +00:00
sjcl.js.meta Make the core into a plugin 2013-03-28 17:07:30 +00:00