Update August 15 1am PDT: http://TiddlyTools.com/timer.html
 
Another bit of PERFORMANCE IMPROVEMENT...

>
Previously... I said that CountDown and AutoSaver still started separate 
timeouts (instead of the new *shared* TiddlyTools/Timer/Ticker 
StartupAction).  I had *claimed* that they don't stack up interrupts due to 
refresh events... but I was mistaken.  It turned out that if you repeatedly 
open and close a countdown timer, it would start to count faster and faster 
(because of the multiple stacked interrupts due to the refresh events).

Of course, this was a problem.... so I solved it.

Now... CountDown and AutoSaver now use the same *shared* 
TiddlyTools/Timer/Ticker.  I had to rework the ticker logic in 
TiddlyTools/Timer/CountDown, but it turned out to not be as difficult as I 
had thought.

So... now ALL the TiddlyTools/Timer functions use the same once-a-second 
ticker loaded as a StartupAction, and there is NO additional timeout 
overhead regardless of how many times you open/close these tiddlers.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1c5d670-fae9-4b6f-8175-0afd045b573fo%40googlegroups.com.

Reply via email to